Last active
March 15, 2017 12:14
-
-
Save haxpor/0edbb4badf6e2ece899e8e0c764153d8 to your computer and use it in GitHub Desktop.
Remove ignored files that were already committed. Thanks to https://www.git-tower.com/learn/git/faq/ignore-tracked-files-in-git.
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 rm -r --cached . | |
$ git add . | |
$ git commit -m "Clean up ignored files" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I made the open source
git-clegn
to help do above (without getting the way in committing your source code) at https://github.com/haxpor/git-clegn