Created
May 1, 2014 22:08
-
-
Save ccorcos/11463044 to your computer and use it in GitHub Desktop.
fix gitignore my clearing git cache
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
When you're gitignore is not working as it should, clear the cache and re-commit the files. All thanks to this amazing answer: | |
http://stackoverflow.com/questions/11451535/gitignore-not-working | |
git rm -r --cached . | |
git add . | |
git commit -m "fixed untracked files" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment