There are files in local project, I want to keep untouched - some configs with directives neccessary only for local development. I also do not want them to go to remote origin as it will break the app.
I've put corresponding entries to .gitignore, which I also do not want either to share nor accept changes into it.
I even did git update-index --assume-unchanged
, so changes in mentioned files not tracked and not shown on "git status".
But when "pulling" from remote origin (or explicitly make merge after fetch) I get
error: Your local changes to the following files would be overwritten by merge:
.gitignore
app/core/config.js
Please, commit your changes or stash them before you can merge.
Aborting
Due to the fact my staging area is empty there is nothing to commit or stash. Which is proper set up for the case when I have files not to be merged?