Skip to content

Instantly share code, notes, and snippets.

@Soullighter
Last active March 1, 2021 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Soullighter/f2d891f194464312eebd368050e2b928 to your computer and use it in GitHub Desktop.
Save Soullighter/f2d891f194464312eebd368050e2b928 to your computer and use it in GitHub Desktop.
Exclude file to be tracked from Git
// Most important thing is to enter full path to the file from root directory path
git update-index --assume-unchanged rootFullPathToTheFile/file.extension
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment