使提交消息作为注释出现在bitbucket中 [英] Make commit message appear as comment in bitbucket

查看:155
本文介绍了使提交消息作为注释出现在bitbucket中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法让bitbucket将提交消息作为与特定问题相关的评论/活动的一部分,只要它在所述消息中被标记;与github一样吗?



谢谢。

解决方案

问题,拉请求,用户和提交哈希可以 be链接在BitBucket问题和提交消息



问题 resolves#123 这样的内容自动关闭,当+ users + push + coderel =nofollow>时自动关闭。提交引用问题123 的提交将在问题中生成交叉引用。这依赖于启用问题钩子,默认情况下在2012年8月之后的新版问题存储库中完成。


Is there a way to make bitbucket show commit messages as part of comments/activity related to a specific issue, whenever it's been marked-up in said message; the same way github does?

Thanks.

解决方案

Issues, pull requests, users and commit hashes can be linked in BitBucket issues and commit messages.

Issues can be closed automatically by including something like resolves #123. Commits referencing issue 123 will generate a cross-reference in the issue. This relies on the issues hook to be enabled, which is done by default on new (after August, 2012) issues-enabled repositories.

这篇关于使提交消息作为注释出现在bitbucket中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆