Skip to content

Instantly share code, notes, and snippets.

@hienvd
Created December 5, 2017 02:53
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save hienvd/f6b8e8dd8a2050344e73ba8e728a614e to your computer and use it in GitHub Desktop.
Find history of deleted file

List of all deleted files:

git log --diff-filter=D --summary | grep pattern_to_search

Find the log git log --all -- FILEPATH

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