Return to Snippet

Revision: 53709
at December 1, 2011 13:37 by Glycerine


Initial Code
git checkout $(git rev-list -n 1 HEAD -- "$file")^ -- "$file"

Initial URL
http://stackoverflow.com/questions/953481/restore-a-deleted-file-in-a-git-repo

Initial Description
Restore a deleted file within the git repo

Initial Title
Restore deleted file in Git

Initial Tags
file, git

Initial Language
Bash