Created
August 9, 2011 16:37
-
-
Save promisedlandt/1134518 to your computer and use it in GitHub Desktop.
git - restore deleted file
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 checkout $(git rev-list -n 1 HEAD -- "$file")^ -- "$file" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment