Introduction to GitHub

Get started using GitHub in less than an hour.

Step 4: Merge your pull request

Nicely done! 😎

You successfully created a pull request. You can now merge your pull request.

What is a merge?: A merge adds the changes in your pull request and branch into the main branch. For more information about merges, see "Merging a pull request."

As noted in the previous step, you may have seen evidence of GitHub Actions running which automatically progresses your instructions to the next step. You'll have to wait for it to finish before you can merge your pull request. It will be ready when the merge pull request button is green.

screenshot of green merge pull request button

⌨️ Activity: Merge the pull request

  1. Click Merge pull request.

  2. Click Confirm merge.

  3. Once your branch has been merged, you don't need it anymore. To delete this branch, click Delete branch.

    screenshot showing delete branch button
  4. Wait about 20 seconds then refresh this page (the one you're following instructions from). GitHub Actions will automatically update to the next step.

    Note: Check out the Finish step to see what you can learn next!


Get help: Post in our discussion boardReview the GitHub status page

© 2023 GitHub • Code of ConductMIT License