Merging Pull Request #1735
-
How to merge a pull request on GitHub? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Merging a pull request on GitHub is pretty straightforward:
Create a merge commit (keeps the full history) Squash and merge (combines all commits into one) Rebase and merge (applies commits on top of the base branch)
👉 After merging, you can safely delete the feature branch if you don’t need it anymore. |
Beta Was this translation helpful? Give feedback.
Merging a pull request on GitHub is pretty straightforward:
Go to your repository and open the Pull requests tab.
Click on the pull request you want to merge.
Review the changes, comments, and make sure all checks (like tests/CI) have passed.
If everything looks good, scroll down and click the green Merge pull request button.
GitHub will give you a couple of merge options:
Create a merge commit (keeps the full history)
Squash and merge (combines all commits into one)
Rebase and merge (applies commits on top of the base branch)
Pick whichever fits your workflow.
👉 After merging, you can safe…