Use git-update-index --assume-unchanged instead of .gitignore