-
-
Save quangnd/56bbe42e9c8ffde43aa382f4c839b254 to your computer and use it in GitHub Desktop.
Clear .gitignore cache
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
# remove specific file from git cache | |
git rm --cached filename | |
# remove all files from git cache | |
git rm -r --cached . | |
git add . | |
git commit -m ".gitignore is now working" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment