Learn why conflicts happen and how to resolve them.
Welcome to "Managing Merge Conflicts"! 👋
What is a merge conflict?: A merge conflict occurs when changes are made to the same part of the same file on two different branches. You usually find out about conflicts in a pull request so let's start by creating one.
- Open a new browser tab, and work on the steps in your second tab while you read the instructions in this tab.
- We made a small change to a file in the repository in the
my-resume
branch. - Create a pull request setting
my-resume
as the head branch andmain
as the base branch. You can enterResolving merge conflicts
for the pull request title and body. - Wait about 20 seconds then refresh this page (the one you're following instructions from). GitHub Actions will automatically update to the next step.
Get help: Post in our discussion board • Review the GitHub status page
© 2023 GitHub • Code of Conduct • MIT License