Newbie in using Git and Gitlab over here
I have a Gitlab setup whereby I have the following branches for a project
devevlopment (dev) -> consolidation (cons) -> testing (test) -> production (prod) -> master
I would like to merge code on "dev" to "cons".
I see that there is not "Merge Request" button available for "dev"
Why is this the case?
TIA
Update
Thanks all for the inputs. I wound up :
This seems to have produced the effect I was looking for - that way - I no longer have branches with :dev, test, prod, etc. under one Repository/Project.
The Merge Request buttons on that screen create a request to merge into your default branch. dev
is your default branch, so no button exists.
If you go to your Merge Requests tab you should be able to create a merge request from your default branch:
dev
branch as the Source branchAlternatively, as the comments above suggest you could also do a regular Git merge on your local copy and push back up to GitLab.
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