1. Home
  2. ›
  3. Git
  4. ›
  5. Rm

This command will stop git from tracking a file but it will not remove the file from the file system.

#git#remove
git rm --cached file-name.html
copy
Full Git cheatsheet