Skip to content

Instantly share code, notes, and snippets.

@rallygroup
Created April 7, 2010 18:18
Show Gist options
  • Select an option

  • Save rallygroup/359231 to your computer and use it in GitHub Desktop.

Select an option

Save rallygroup/359231 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# git-addremove
git add -A
git ls-files --deleted | xargs git rm
@rallygroup
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment