Created
April 6, 2018 14:17
-
-
Save HermesMartins/5f82f5e33e0092ec7eb652c1c05d6b10 to your computer and use it in GitHub Desktop.
Fixed .gitignore cache problem
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
# remove specific file from git cache | |
git rm --cached filename | |
# remove all files from git cache | |
git rm -r --cached . | |
# fixed git ignore | |
git add . | |
git commit -m 'fixed .gitignore' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment