Skip to content

Instantly share code, notes, and snippets.

@HansCz
Last active October 3, 2015 02:48
Show Gist options
  • Save HansCz/2376261 to your computer and use it in GitHub Desktop.
Save HansCz/2376261 to your computer and use it in GitHub Desktop.
Git - Ignoring changes to files already in the index
# Adding files to .gitignore that are already tracked does not work. (and it’s actually pretty well documented). Instead, it’s possible to use this command:
git update-index --assume-unchanged [filename(s)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment