Glossary: Command Line and Git
git rm --cached
Also written: rm --cached
Stops Git tracking a file but leaves it on disk. Use it when a file was committed before you added it to `.gitignore`.
Glossary: Command Line and Git
Also written: rm --cached
Stops Git tracking a file but leaves it on disk. Use it when a file was committed before you added it to `.gitignore`.