Skip to content

Instantly share code, notes, and snippets.

@penland365
Created October 23, 2013 18:22
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 penland365/7123865 to your computer and use it in GitHub Desktop.
Save penland365/7123865 to your computer and use it in GitHub Desktop.
The world's smallest script to delete files from git control.
git status | grep deleted | awk '{print $3}' | xargs git rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment