Skip to content

Instantly share code, notes, and snippets.

@tarsisazevedo
Created September 29, 2011 22:46
Show Gist options
  • Save tarsisazevedo/1252153 to your computer and use it in GitHub Desktop.
Save tarsisazevedo/1252153 to your computer and use it in GitHub Desktop.
ressurect file deleted in git
git log --diff-filter=D --summary
git checkout $commit~1 filename
@gabriellima
Copy link

nice one to have in hand!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment