Answer the question
In order to leave comments, you need to log in
How to ignore changes in a file remote locally?
We have a file in the repository called aux.mk, and this name is reserved in Windows (you cannot create files with this name). Bottom line: when checking out, git tries to get this file, but cannot and marks it as deleted.
I do not need this file, I am not going to use or change it. But because of this, there are a lot of problems (SourceTree does not work well, Atom crashes, etc.).
Colleagues, what to do? .gitignore
naturally does not work. /.git/info/exclude
For some reason, too, although I don’t understand why.
It works git update-index -assume-unchanged aux.mk
, but these settings are lost on the next checkout from gerrit. If you tell me how to register this command entirely for the project, this will also be the answer.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question