mirror of
https://github.com/Exp-Intro-to-GitHub-Flow-Cohort-1/series-intro-to-github-flow-dyzulk.git
synced 2026-01-26 13:21:52 +07:00
31 lines
1.7 KiB
Markdown
31 lines
1.7 KiB
Markdown
<!--
|
|
<<< Author notes: Step 4 >>>
|
|
Just a historic note: The previous version of this step required responding
|
|
to a pull request review before merging. The previous version also handled
|
|
if users accidentally closed without merging.
|
|
-->
|
|
|
|
## Step 4: Merge your pull request
|
|
|
|
_Nicely done! :sunglasses:_
|
|
|
|
You successfully created a pull request. You can now merge your pull request.
|
|
|
|
**What is a merge?**: A _[merge](https://docs.github.com/en/get-started/quickstart/github-glossary#merge)_ adds the changes in your pull request and branch into the `main` branch. For more information about merges, see "[Merging a pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/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.
|
|
|
|

|
|
|
|
### :keyboard: 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**.
|
|
|
|
<img alt="screenshot showing delete branch button" src="/images/delete-branch.png"/>
|
|
|
|
4. Wait about 20 seconds then refresh this page (the one you're following instructions from). [GitHub Actions](https://docs.github.com/en/actions) will automatically update to the next step.
|
|
|
|
**Note**: Check out the **Finish** step to see what you can learn next!
|