gpt4 book ai didi

亚搏体育app : add quick-actions in commit comments

转载 作者:太空狗 更新时间:2023-10-29 14:17:08 26 4
gpt4 key购买 nike

我最近发现您可以通过提交关闭 Gitlab 问题。
例如:git commit -m "my commit name Fix #12" 将关闭问题 #12。

我还在问题评论中使用快速操作:/spend 1h

是否可以将这两种功能混合在一起:git commit -m "my commit name Fix #12/spend 1h" ?
我已经尝试过这个命令,否则它不是好的语法,否则这个功能不存在。

最佳答案

来自official documentation :

You can enter these commands while creating a new issue or merge request, and in comments.

Each command should be on a separate line in order to be properly detected and executed.

因此它们似乎只能用于问题、 merge 请求和评论的正文中。它们也需要放在自己的行上。

关于亚搏体育app : add quick-actions in commit comments,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46057914/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com