Skip to content

Instantly share code, notes, and snippets.

@jlindsey
Created December 28, 2009 19:30
Show Gist options
  • Save jlindsey/264863 to your computer and use it in GitHub Desktop.
Save jlindsey/264863 to your computer and use it in GitHub Desktop.
Add manually deleted files to a commit
git status | grep deleted | while read line; do git rm ${line/"# deleted:"/}; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment