是否可以在提交消息中为 github 问题分配工单或添加标签?
例子:
@usera ready for you to sign off for #Testing
@usera 是用户,#Testing 是标签?
最佳答案
不幸的是,如果没有一些 hackery,这似乎是不可能的。我组装了一个简单的 sinatra 应用程序(您可以将其放在 heroku 上)来处理一些新的处理程序
要分配给您可以执行的用户:
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/