Skip to content

Instantly share code, notes, and snippets.

@bitgangsta
Created February 22, 2014 00:17
Show Gist options
  • Save bitgangsta/9146509 to your computer and use it in GitHub Desktop.
Save bitgangsta/9146509 to your computer and use it in GitHub Desktop.
Some git things I want to remember

Tricks

Ignore local changes in tracked files

Ignore the changes of this file:

git update-index --assume-unchanged <file>

And to undo:

git update-index --no-assume-unchanged <file>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment