Last active
November 22, 2016 20:10
-
-
Save MaxPleaner/df5d6fe415b3e5f316bc929e7c31602b to your computer and use it in GitHub Desktop.
git tricks
This file contains hidden or 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
Stop a file from being tracked, but only for the local repo: | |
git update-index --assume-unchanged nbproject/project.properties | |
to revert that state: | |
git update-index --no-assume-unchanged | |
too see all files being ignored in this way: | |
git ls-files -v | grep '^h ' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
test