Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git ignore already pushed file

git update-index --assume-unchanged <file>

If you wanna start tracking changes again

git update-index --no-assume-unchanged <file>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #ignore #pushed #file
ADD COMMENT
Topic
Name
7+1 =