【问题标题】:merge-request with a command line使用命令行合并请求
【发布时间】:2018-06-08 06:11:10
【问题描述】:

此刻,每次我想发出合并请求时,我都会提交我的更改并将其推送到网上

git commit -am 'My changes'
git push origin my_branch:my_branch

然后在 Gitlab 上,我手动提出合并请求并分配 CTO。

如何直接从 bash 创建合并请求并分配 CTO?

我知道存在以下答案Is it possible to create merge requests in pure Git from the command line?,但这并没有回答我的问题。

如何创建从 my_branch 到 master 的合并请求? 我可以git --assign=CTO request-pull my_branch master吗?

【问题讨论】:

标签: command-line git-bash


【解决方案1】:

使用push options。这是一个例子。

git push -o merge_request.create -o merge_request.assign="CTO"

【讨论】:

    猜你喜欢
    • 2019-04-18
    • 2019-04-12
    • 1970-01-01
    • 2019-12-08
    • 2016-09-21
    • 2015-04-19
    • 2016-06-10
    • 1970-01-01
    • 2011-05-03
    相关资源
    最近更新 更多