How to `--assume-unchanged` file in project?
问题 I have config file: conf/local.conf I run next command for it: git update-index --assume-unchanged local.conf and it is OK until I switch to another branch or pull. How to preserve --assume-unchanged flag between branches? UPD Some examples what is coming on: $ git checkout 296-ToS-component error: Your local changes to the following files would be overwritten by checkout: conf/local.conf Please commit your changes or stash them before you switch branches. Aborting $ git checkout -f 296-ToS