I've got a file that is currently tracked and needs to remain in the repository but I don't want my current changes to it to constantly show up in Sourcetree.
All the posts I'm finding here say to stop tracking the file a la: git rm --cached but then committing it will remove it from the remote repo, right? Or am I totally misunderstanding it?
Because as soon as I stop tracking it it shows up with a red minus icon and shows that it needs to be committed.
How can I ignore my local changes to a file that must remain in the repo?
Thanks for any helpful tips.