Skip to content

Instantly share code, notes, and snippets.

@vguerra
Created October 22, 2013 15:50
Show Gist options
  • Save vguerra/7103126 to your computer and use it in GitHub Desktop.
Save vguerra/7103126 to your computer and use it in GitHub Desktop.
check if untracked file was previously deleted from repository
git ls-files -o | xargs git log -n 1 --diff-filter=D --format=format:%H --
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment