1

Following this question, consider that you have a repo with this configuration:

https://gitlab.com/my_repo
                    |-> firstBranch
                    |-> secondBranch
                           |-> token/ticket

Now I want to create a merge request to a specific branch firstBranch. Looking at the GitLab's documentation, I can't see that option:

   [][3]  
(source: [gitlab.com](https://docs.gitlab.com/ee/user/project/merge_requests/img/new_merge_request_page_v12_6.png))  
               

does it mean if I create a merge request it will be merged into the secondBranch? if that's the case then I can rebase the token/ticket branch to firstBranch and then create the merge request. However, I was wondering if there is a way to ask for a direct merge on GitLab web-app UI? Thanks for your support in advance.

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Foad S. Farimani
  • 12,396
  • 15
  • 78
  • 193

1 Answers1

4

You have a "change branches" link on the top of the GUI. Click it, and choose the branch you want to merge in to:

enter image description here

Mureinik
  • 297,002
  • 52
  • 306
  • 350
  • are there any options to modify the former merge requests while they are not processed? I think I have made a mistake :) – Foad S. Farimani Mar 20 '20 at 13:25
  • @Foad If you edit the merge request, you should get a similar dialog, and can choose to have the MR against a different branch. – Mureinik Mar 20 '20 at 13:26
  • but how do you edit a merge request? [this](https://i.imgur.com/C5N6HUJ.png) is what I see at the moment. – Foad S. Farimani Mar 20 '20 at 13:32
  • @Foad from the search, there don't see to be any MRs assigned to you. Perhaps they are assigned to someone else (which makes sense if you created them and are waiting for someone to review them) – Mureinik Mar 20 '20 at 13:34