Skip to content

Instantly share code, notes, and snippets.

@wmfairuz
Created April 4, 2014 09:21
Show Gist options
  • Save wmfairuz/9971080 to your computer and use it in GitHub Desktop.
Save wmfairuz/9971080 to your computer and use it in GitHub Desktop.
Find all deleted tracked files and git rm them
git ls-files --deleted -z | xargs -0 git rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment