1. Home
  2. Git
  3. Remove file from cache

Use this command to remove a file from git cache.

#git
git rm --cached path/to/your/file.html
copy
Full Git cheatsheet