I want to pull changes from an upstream repo's branch. I have set the upstream repo using:
git remote add upstream http://URL-of-master-repo.git
and then I tried to pull the changes using
git checkout my-local-branch
git fetch upstream remote-branch
git merge upstream/remote-branch
but the files still didn't appear on my disk, but I get a conflict:
Auto-merging minimal-build-config.cmake
CONFLICT (content): Merge conflict in minimal-build-config.cmake
Automatic merge failed; fix conflicts and then commit the result.
How do I properly resolve the conflict to be able to fetch the files from the upstream branch?