Skip to content

Instantly share code, notes, and snippets.

@joemccann
Created October 26, 2010 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joemccann/648102 to your computer and use it in GitHub Desktop.
Save joemccann/648102 to your computer and use it in GitHub Desktop.
Remove all removed/deleted files from git repo.
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