Skip to content

Instantly share code, notes, and snippets.

@troynt
Created January 19, 2011 19:42
Show Gist options
  • Save troynt/786711 to your computer and use it in GitHub Desktop.
Save troynt/786711 to your computer and use it in GitHub Desktop.
Remove Deleted Files From Git
for i in `git status | grep deleted | awk '{print $3}'`; do git rm $i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment