Skip to content

Instantly share code, notes, and snippets.

@matiit
Created December 20, 2012 13:49
Show Gist options
  • Save matiit/4345420 to your computer and use it in GitHub Desktop.
Save matiit/4345420 to your computer and use it in GitHub Desktop.
stage deleted files in git repo
for x in `git status | grep deleted | awk '{print $3}'`; do git rm $x; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment