Description
There's a few arguments you can pass while pushing:
It would be great if it was possible to add additional custom options here that can be appended to the push command. One example is git push -o merge_request.create
where I would like to be able to add an argument switch on keys -m
which would add the argument -o merge_request.create
to the push command.
The use-case is once I am done with my feature branch and it's time to make an MR, it's easy to do so automatically via the merge_request.create
option.
I believe merge_request.create
is a GitLab specific option, hence why my suggested solution is the ability to append custom arguments to the push command, so you can tailor it to whatever backend you use. There's probably other useful options that can be passed via -o <option>
.
Right now I have not found any alternatives, I push via the CLI every time I want to make an MR at the same time as the push.
I'd be happy to take a stab at this myself and make an MR, if this is something you guys would be OK with.