Answer the question
In order to leave comments, you need to log in
Why doesn't git exclude work?
Good afternoon!
There are many branches and configurations in a VS project. When changing the configuration, config files, such as Web.config, may change, but I do not need to load these changes into the repository.
gitignore is not suitable because if I make changes to it, then these changes will be uploaded to the repository and get to other developers, which we don’t need
. I know about the .git\info\exclude file which contains those resources that need to be excluded from the list of changes . I already made exceptions to it and it suited. But! For some reason, the exception does not apply to all the resources that I specify in it. Why can this happen?
Answer the question
In order to leave comments, you need to log in
gitignore is not suitable because if I make changes to it, then these changes will be uploaded to the repository and get to other developers, which we do not need
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question