4-merge-your-pull-request.md (1631B)
1 ## Step 4: Merge your pull request 2 3 _Nicely done! :sunglasses:_ 4 5 You successfully created a pull request. Now it's time merge it! 6 7 **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)." 8 9  10 11 ### :keyboard: Activity: Merge the pull request 12 13 1. Click **Merge pull request**. 14 15 > **Note:** You may see workflows running on your new pull request, causing the merge button to be inactive. Just wait a moment for them to finish and the merge button will activate. 16 17 2. Click **Confirm merge**. 18 19 > **Tip:** Did you notice this dialog looks similar to adding a file? A merge is also a kind of commit! 20 21 3. Once your branch has been merged, you don't need it anymore. To delete this branch, click **Delete branch**. 22 23  24 25 4. Now that your work is merged, Mona will confirm and share some final review content. Nice work! 🎉 26 27 <details> 28 <summary>Having trouble? 🤷</summary><br/> 29 30 If you don't get feedback, here are some things to check: 31 - Make sure you completed the previous lessons. If they haven't passed, the merge button will be gray. 32 33 </details>