Created
June 20, 2013 05:37
-
-
Save mhkeller/5820527 to your computer and use it in GitHub Desktop.
Remove all deleted files from git. Taken from http://stackoverflow.com/questions/6004453/how-to-remove-multiple-deleted-files-in-git-repository
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 diff --diff-filter=D --name-only -z | xargs -0 git rm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment