Created
May 9, 2017 07:20
-
-
Save cyberfly/b8c598430d680b3e25377f3e83e92274 to your computer and use it in GitHub Desktop.
GIT untracked changes to local config file
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
You could update your index: | |
cd /root/folder/of/your/repo | |
git update-index --assume-unchanged nbproject/project.properties | |
and make sure it never shows as "updated" in your current repo. | |
That means it won't ever been pushed, but it is still present in the index. | |
(and it can be modified at will in your local working tree). | |
to revert that state (from git-ready): | |
git update-index --no-assume-unchanged | |
to see all assume unchanged files (from Gabe Kopley's comment) | |
git ls-files -v | grep '^h ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment