We have a file in our repo that needs to be there (so can’t be ,gitignored) but some devs like to tweak settings in it and leave them local only. To do this we use the git update-index --assume-unchanged <file>
command, but Sublime Merge doesn’t seem to be respecting that command. My changes to this file are not showing up when I run git status
and the changes remain unstaged when I commit all, but sublime merge shows the file as modified
Steps to reproduce
Tell git to ignore changes to a tracked file with git update-index --assume-unchanged <file>
Modify the file
run git status
and note the lack of changes
View working tree in Sublime Merge and note the file is flagged as modified