Skip to content

Resolve Conflict button is disabled #22431

Discussion options

You must be logged in to vote

There are two common ways to resolve this, and yes, both are local. Either way you need to have the repository you want to merge into configured as a remote in your local repository, I’ll assume that remote is called upstream.

  1. Rebase your branch on the upstream branch you want to merge into. This will recreate each commit on the branch starting from the upstream branch, and you’ll have to resolve conflicts on each commit.
git checkout your-branch
git rebase upstream/master
  1. Merge the upstream branch into your local branch. This does not modify your existing commits, and instead adds the new upstream commits plus a merge commit. You’ll have to resolve conflicts during the merge.
git ch…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants