问题
I need to create a merge request from a forked GitLab repository into the original repository, while running a bash script.
回答1:
Use the API
An example merge request would look like this:
curl --header "PRIVATE-TOKEN: " -X POST https://gitlab.example.com/api/v3/projects/project_id/merge_requests/?target_project_id=id_of_parent_project
来源:https://stackoverflow.com/questions/41228561/how-to-use-gitlab-function-create-merge-request-from-the-bash-shell