Lecture # 11 - Merge Requests
What are merge requests. How to use merge request.
Table of contents
Merge Requests:
A merge request also known as a pull request in some platforms is a request made by a developer to merge their code changes from one branch into another branch within a Git repository. It serves as a way to propose and review changes before they are integrated into the main codebase.
Merge Request on GitLab:
Follow the step to create a merge request on GitLab:
Open GitLab and go to your project.
-
Select 'Branches' from the navigation menu.
This window will be opened. You can see there is 1|1 written, that means there are some changes done. After that there is a 'New' button. Click on that button to create a new merge request.
-
You can create title of your choice There are multiple options like select Assignee, and Reviewer. You can select of your choice. In my case, I'm the only owner.
-
Scroll down a little and you can select the option to delete the source branch if you want. Click on the blue 'Create merge request' button.
-
Click on the blue 'Merge' button.
-
We've successfully merged the branches.
This is how we request to merge and then merge the branches.