Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #temporarily #ignore #tracked #file
ADD COMMENT
Topic
Name
9+1 =