-
-
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 |
Hi, I think git remove --cached filename
should be git rm --cached filename
.
We got:
> git remove --cached filename
git: 'remove' is not a git command. See 'git --help'.
The most similar command is
remote
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
>> .gitignore
surely.