Created
September 29, 2011 22:46
-
-
Save tarsisazevedo/1252153 to your computer and use it in GitHub Desktop.
ressurect file deleted in git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log --diff-filter=D --summary | |
git checkout $commit~1 filename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice one to have in hand!