Skip to content

Instantly share code, notes, and snippets.

@csurf
Created February 7, 2018 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save csurf/b9234d4be3b0265fbac3f293069b68bf to your computer and use it in GitHub Desktop.
Save csurf/b9234d4be3b0265fbac3f293069b68bf to your computer and use it in GitHub Desktop.
temp git untrack / ignore
start ignoring changes to a file:
git update-index --assume-unchanged path/to/file
keep tracking again:
git update-index --no-assume-unchanged path/to/file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment