- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我注意到,在 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/
我是一名优秀的程序员,十分优秀!