Skip to content

Instantly share code, notes, and snippets.

@Kevnz
Created February 4, 2019 21:44
Show Gist options
  • Save Kevnz/16178061cc9f66fb79c01b9ad1c0f1d8 to your computer and use it in GitHub Desktop.
Save Kevnz/16178061cc9f66fb79c01b9ad1c0f1d8 to your computer and use it in GitHub Desktop.
Ignore changes then don't ignore changes
git update-index --assume-unchanged FILE_NAME
git update-index --no-assume-unchanged FILE_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment