Answers for "git temporarily ignore changes to tracked file"

2

git temporarily ignore changes to tracked file

# start ignoring changes to a file:
git update-index --assume-unchanged path/to/file

# keep tracking again:
git update-index --no-assume-unchanged path/to/file
Posted by: Guest on November-11-2020

Code answers related to "git temporarily ignore changes to tracked file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language