Skip to content

Instantly share code, notes, and snippets.

@kalv
Created November 3, 2008 13:42
Show Gist options
  • Save kalv/21872 to your computer and use it in GitHub Desktop.
Save kalv/21872 to your computer and use it in GitHub Desktop.
# Run this command to get a prompt on each deleted item from your git status, useful when deleting load of files
# need to only prompt for filenames...
git status | grep deleted | xargs -p -n1 git rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment