Created
January 27, 2012 03:16
-
-
Save JoshuaEstes/1686776 to your computer and use it in GitHub Desktop.
Bash one liner to remove all the files from git repo that are marked as deleted
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
for file in $(git ls-files --deleted); do git rm "$file"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment