Skip to content

Instantly share code, notes, and snippets.

@FellipePeixoto
Created September 14, 2021 12:31
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 FellipePeixoto/d243135c9005238baf0d2069702d9e25 to your computer and use it in GitHub Desktop.
Save FellipePeixoto/d243135c9005238baf0d2069702d9e25 to your computer and use it in GitHub Desktop.
// Assume the files of specified locations aren't modified in any circumstances
git update-index --assume-unchanged "FILE LOCATIONS"
// Basically return keep tracking of any file that was assumed to be unchanged
git update-index --assume-changed "FILES"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment