Skip to content

Instantly share code, notes, and snippets.

@nuc
Created November 15, 2011 09:19
Show Gist options
  • Save nuc/1366541 to your computer and use it in GitHub Desktop.
Save nuc/1366541 to your computer and use it in GitHub Desktop.
Checkout deleted file from git repository
git log --diff-filter=D --summary
git checkout [commit_hash]^ deleted_file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment