Home > database >  When writing 'git push' - can I change automatic merge request suggestion to a different b
When writing 'git push' - can I change automatic merge request suggestion to a different b

Time:12-02

I'm using GitLab as the remote repository.

After each git push I do, the terminal sends the request and gives me option to create a merge request through the following link:

remote: To create a merge request for [branchName], visit:
remote:   [linkToMergeRequest]

The problem is that it always tries to make me create a merge request to a specific branch that I don't want to merge into. (as in I want to create a merge request to branchTwo, but the [linkToMergeRequest] is directing me to create a merge request to branchOne)

Can I change the link direction to direct me to create a merge to branchTwo?

Is it possible?

CodePudding user response:

Try changing the default branch for your repository:

Repository settings panel

  • Related