Skip to content

Instantly share code, notes, and snippets.

@MaxPleaner
Last active November 22, 2016 20:10
Show Gist options
  • Save MaxPleaner/df5d6fe415b3e5f316bc929e7c31602b to your computer and use it in GitHub Desktop.
Save MaxPleaner/df5d6fe415b3e5f316bc929e7c31602b to your computer and use it in GitHub Desktop.
git tricks
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 '
@MaxPleaner
Copy link
Author

test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment