gitmergeversion-controlrequestgitlab

how do i create a merge request from a fork in gitlab


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?


Solution

  • 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.