Skip to content

Instantly share code, notes, and snippets.

@Anderson-Juhasc
Created September 22, 2011 18:50
Show Gist options
  • Save Anderson-Juhasc/1235650 to your computer and use it in GitHub Desktop.
Save Anderson-Juhasc/1235650 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