Skip to content

Instantly share code, notes, and snippets.

@bannostookaylo
Last active April 18, 2016 01:02
Show Gist options
  • Save bannostookaylo/42547a58a118af592c35958b2701f450 to your computer and use it in GitHub Desktop.
Save bannostookaylo/42547a58a118af592c35958b2701f450 to your computer and use it in GitHub Desktop.
## git has a different solution to do this. First change the file you do not want to be tracked and use the following command:
git update-index --assume-unchanged FILE_NAME
## and if you want to track the changes again use this command:
git update-index --no-assume-unchanged FILE_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment