我已阅读:
https://confluence.atlassian.com/fisheye/using-smart-commits-298976812.html
我理解提交消息如何:
This is the subject line
This is the body. There might be several lines here
as per good git commit message formatting.
ABC-1234 #close All fixed
将关闭 jira 问题
ABC-1234
,并显示消息“全部已修复”。
但是这些智能提交工作所需的确切格式是什么?提交消息中的一行是否可以像下面这样工作:
[ABC-1234] #close All fixed
如果一行不以
ISSUE_KEY
开头,则可以执行以下操作:
Jira-Smart-Commit: ABC-1234 #close All fixed
有什么地方我可以得到有效的确切定义吗?
智能提交的格式如下
<ignored text> <ISSUE_KEY> <ignored text> #<COMMAND> <optional COMMAND_ARGUMENTS>
因此您无需将问题键放在行首。
我们目前正在修改文档,因此您可能会比上次查看时找到更多信息
https://confluence.atlassian.com/display/FISHEYE/Using+smart+commits
语法:
<ignored text> ISSUE_KEY <ignored text> #comment <comment_string>
Changes for JIRA Id LOANDEV-165320 #comment:Initial Commit for Employee Project