Say I have a file foo.bar
which is tracked by git
and at some point I want my local repository to ignore the changes I make to this file. This is, if I understand correctly, the case to use (link1;link2)
git update-index --assume-unchanged foo.bar
My question is, what happens with this file in case there are changes on a remote repository? Will the changes be reflected in my local copy?
This answer suggests the same solution - but the comment which address my question was left unanswered...