Created
August 14, 2018 01:51
-
-
Save hay-wire/0527c9024b96e0824877612647b125ca to your computer and use it in GitHub Desktop.
Git commit deleted files - when you have deleted a lot of unwanted files
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
# Taken from this blog - http://tylerfrankenstein.com/code/how-git-rm-all-deleted-files-shown-git-status | |
git commit `git status | grep deleted | awk '{print $2}'` -m "removed unwanted files" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment