How to create a merge request from an already pushed commit from CLI?
Solution 1:
If your dev
branch is up to date with the dev
branch on origin, your git push
command won't do anyting, because Everything up-to-date
.
To create the merge request from CLI, create a new branch (from dev
) to make the push happen:
git checkout -b dev2
git push -o merge_request.create -o merge_request.target=master