gpt4 book ai didi

version-control - 如何从提交日志中将问题标记为已解决?

转载 作者:行者123 更新时间:2023-12-03 05:32:19 25 4
gpt4 key购买 nike

我注意到,在 BitBucket 中,当您的提交日志包含类似 #12 的数字时,该数字会链接到错误号 12。

我发现这个功能很有趣,我想知道是否有任何关键字可以让我从提交日志中将问题标记为已解决,而不是每次都转到网络界面。

如果 BitBucket 不这样做,您能指出一个可以这样做的系统吗?

最佳答案

Bitbucket 已经支持使用 Issues service 标记提交问题.

The issues service scans commit messages for commands which will automatically change the state of the relevant issue on the tracker.

[snip]

Examples:

"... fixes #4711 ..." # marks issue as resolved
"... reopening bug 4711..." # marks issue as open
"... refs ticket 4711..." # links changeset to issue as comment
"... refs bug #4711 and #4712..." # links to multiple issues

您可能需要激活它,才能这样做:

Services can be activated on a per-repository basis by the administrator. Go to your repository page, select the Admin tab, click Services, then select a service from the list, and add it.

关于version-control - 如何从提交日志中将问题标记为已解决?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2004177/

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