Github 提交消息标记

标签 git github

是否可以在提交消息中为 github 问题分配工单或添加标签?

例子:

@usera ready for you to sign off for #Testing

@usera 是用户,#Testing 是标签?

最佳答案

不幸的是,如果没有一些 hackery,这似乎是不可能的。我组装了一个简单的 sinatra 应用程序(您可以将其放在 heroku 上)来处理一些新的处理程序

Github Postcommit Shinies

要分配给您可以执行的用户:

git commit -a -m 'updates #23 assigned =USERNAME';

要添加标签,您可以:

git commit -a -m 'updates #23 ~QA ~testing'

您还可以混合搭配:

git commit -a -m 'updates #23 ~QA ~testing =QAUSER'

关于Github 提交消息标记,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8359533/

相关文章:

git - 用原来的账号fork一个 fork 的项目

c - libgit2:创建存储库时无法解析路径

Github CLI 自动创建发行说明

github - 如何删除问题引用

git 分支工作流

git - 多个客户端push到同一个远程仓库时,git是如何处理并发问题的?

Github - 从主页上的列表中删除存储库

github - 推送到 GitHub 远程时找不到存储库

github - 如何在 Flutter 中添加来自 GitHub 的包?

git - 平均堆栈,Win 7,git push heroku master 结果在 sh : bower: not found error