Get in touch

Send an email to:
Or find me online at: Github, X

Ignore already tracked files in Git

To ignore a file that's already being tracked in Git, follow these steps:

  1. Add the file or folder to the .gitignore file.
  2. Remove it from the index by running: git rm --cached <file>
    If it's a folder, run: git rm -r --cached <folder>