skills-introduction-to-github

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

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 ![screenshot of green merge pull request button](https://github.com/user-attachments/assets/ce2f04cb-8a71-411f-8dc8-827a2bc23a30)
     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    ![screenshot showing delete branch button](https://github.com/user-attachments/assets/0fda948e-14e0-4643-aa53-d9f9f364cddd)
     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>