Last active
October 3, 2015 02:48
-
-
Save HansCz/2376261 to your computer and use it in GitHub Desktop.
Git - Ignoring changes to files already in the index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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