Created
October 29, 2013 18:14
-
-
Save cborgia/7219786 to your computer and use it in GitHub Desktop.
only add deleted files to git (useful when making commits based on clean up)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git ls-files --deleted -z | xargs -0 git rm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment