-
-
Save citizen428/3c41324a1ab6d178fd2d1d443e2d7bf9 to your computer and use it in GitHub Desktop.
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 reset filename # or git rm --cached filename | |
echo filename >> .gitignore # add it to .gitignore to avoid re-adding it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I think
git remove --cached filename
should begit rm --cached filename
.We got: