My coworker has asked me if he could ingore a file after he had committed it, as an example a pom.xml file, commonly used in maven projects.
I found out the git update-index --assume-unchanged can be useful in this situation. But when I try to merge from another branch, git is still tracking the ignored file and a conflict happens.
What sould I do to avoid this? Should I use this command(git update-index assume-unchanged) in all the branches?