Skip to content

Instantly share code, notes, and snippets.

@deevis
Last active December 10, 2015 23:59
Show Gist options
  • Save deevis/4513844 to your computer and use it in GitHub Desktop.
Save deevis/4513844 to your computer and use it in GitHub Desktop.
add deleted files to be staged for commit
git status | grep deleted | sed 's/.*deleted:\(.*\)/\1/g' | xargs git rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment