Skip to content

Instantly share code, notes, and snippets.

@stefanRepac
Last active March 1, 2021 09:51
Show Gist options
  • Save stefanRepac/f2d891f194464312eebd368050e2b928 to your computer and use it in GitHub Desktop.
Save stefanRepac/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