Skip to content

Instantly share code, notes, and snippets.

@pejicbgd
Last active February 14, 2018 09:14
Show Gist options
  • Save pejicbgd/855cf30b50d469487daa to your computer and use it in GitHub Desktop.
Save pejicbgd/855cf30b50d469487daa to your computer and use it in GitHub Desktop.
git command to temporarily ignore changes in file
git update-index --assume-unchanged example.txt
# to track changes again
git update-index --no-assume-unchanged example.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment