glab icon indicating copy to clipboard operation
glab copied to clipboard

`glab mr create` always try to merge on master

Open peauc opened this issue 3 years ago • 2 comments

Describe the feature or problem you'd like to solve When creating a Merge Request with glab, no matter what base my branched is based on, the default branch for the merge request will be master. I use the option -b to specify the target branch, but it is a bit frustrating as I use long branch names.

Propose a Solution I would like that glab mr create use the current branch's base by default as a merge target.

Additional context I could take a look myself at the resolution if the idea seems good and ressources are thin. Thank you for your work on this nice project :)

peauc avatar Jul 26 '22 08:07 peauc

I would prefer the default branch be the default branch that mr create users. This would parallel the UI.

frob avatar Aug 09 '22 06:08 frob

This issue has been automatically marked as stale because it has not had recent activity. We haven't had the time to address it yet, but we want to keep it open. This message is just a reminder for us to help triage issues.

clemsbot avatar Sep 09 '22 03:09 clemsbot