Created
June 1, 2015 13:51
-
-
Save rodde177/a5d306dcbf6a5a91ac3d to your computer and use it in GitHub Desktop.
Remove files from git
This file contains hidden or 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 status | grep deleted | awk '{print $3}' | |
Now that we have our complete list of deleted files, we can 'git rm' them: | |
git rm `git status | grep deleted | awk '{print $3}'` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment