Answer the question
In order to leave comments, you need to log in
How to ignore file from external git repository?
There is some config in the external repository. Everyone who pulls from an external repository has a different config. How to ignore config changes on pull? The method from https://habr.com/ru/sandbox/112968/ only helps if we are working in the same branch, if the branch changes, then you need to save the config changes to a separate file again, accept the config from remote, apply your config and do "git update-index --assume-unchanged".
Is there a way to just force the local repository not to download a file from a remote one?
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