Skip to content

Instantly share code, notes, and snippets.

@eddiejaoude
Created October 15, 2014 08:02
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 eddiejaoude/3b3e6aa22ce6cdea109c to your computer and use it in GitHub Desktop.
Save eddiejaoude/3b3e6aa22ce6cdea109c to your computer and use it in GitHub Desktop.
Git do not track modified files

Add file to git, but do not track modifications

git update-index --assume-unchanged FILENAME

git update-index --no-assume-unchanged

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