I joined a project on which I've done some work. The work has now been validated and I need to create a merge request (back to master) from the changes I have pushed to my fork. But I don't understand how I can do this in gitlab...Can anybody help?
Simply push your development branch to the forked remote repository and create the pull request as described in the linked article. The owner of the original repository can then add your repository as a new remote repository, fetch your changes and merge your development branch back into the master branch.
The name “pull request” comes from the idea that you're requesting the project to “pull” changes from your fork. You initiate a pull request when you're ready to begin merging new changes in the code to the project's main repository.
To create a merge request to merge branch from forked repo into the branch of the upstream repo, you can use below steps:
In the forked repo -> Merge Requests -> select the branch from forked repo as the source branch, and select branch from the upstream repo as target branch -> Compare branches -> Specify the user Assign to -> Submit merge request.
More details, you can refer the document Merging upstream.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With