Skip to content

Instantly share code, notes, and snippets.

@jnd71
Created October 23, 2013 18:22
Show Gist options
  • Save jnd71/7123865 to your computer and use it in GitHub Desktop.
Save jnd71/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