lab
lab copied to clipboard
lab mr create does not work with custom remote name for fork
Setup local repo for project and it's fork using following commands:
lab clone
After commiting changes and pushing mybranch to myremote (git push
mr_create.go:148: aborting MR, source branch
After renaming remote to default value (username), lab mr create succeed.
What command did you use to do the push? You should use 'git push -u' to set upstream.
For example,
git checkout <target branch name>
git checkout -b <branch_name>
# do work
git push -u <fork_name> <branch_name>
lab mr create <origin> <target branch name>