在提交消息中链接到GitHub上的问题编号 [英] Link to the issue number on GitHub within a commit message
问题描述
在 git commit
消息中
是否有可能自动链接到GitHub问题编号
只需在您的提交消息中包含 #xxx
即可引用问题而不关闭它。 / strong>
使用新的 GitHub问题2.0 您可以使用这些同义词来引用问题并关闭它(在你的提交信息中): 您也可以用 引用和关闭repos 也有效: 查看文档在其帮助部分中可用。 Is it somehow possible to automatically have a link to GitHub issue number in the Just include With new GitHub issues 2.0 you can use these synonyms to reference an issue and close it (in your commit message): You can also substitute Referencing and closing issues across repos also works: Check out the documentation available in their Help section. 这篇关于在提交消息中链接到GitHub上的问题编号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
修复#xxx
修正#xxx
#xxx
关闭#xxx
关闭#xxx
关闭#xxx
li> resolve #xxx
解析#xxx
已解决#xxx
gh-xxx
替换 #xxx
。
修复用户/回购#xxx
git commit
message?#xxx
in your commit message to reference an issue without closing it.
fix #xxx
fixes #xxx
fixed #xxx
close #xxx
closes #xxx
closed #xxx
resolve #xxx
resolves #xxx
resolved #xxx
#xxx
with gh-xxx
.fixes user/repo#xxx