Skip to main content

Addressing merge conflicts

About merge conflicts

Merge conflicts happen when you merge branches that have competing commits, and Git needs your help to decide which changes to incorporate in the final merge.

Resolving a merge conflict on

You can resolve simple merge conflicts that involve competing line changes on , using the conflict editor.

Resolving a merge conflict using the command line

You can resolve merge conflicts using the command line and a text editor.