如何使用git smart commits指定版本? [英] How to specify version with git smart commits?

查看:116
本文介绍了如何使用git smart commits指定版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用BitBucket和Attlasian Jira.它们彼此之间是链接在一起的,所以我仅用git comment就可以解决问题:

I'm using BitBucket and Attlasian Jira. They are linked between each other so i can resolve an issues just with git comment:

 git commit -m "BUG-123 #resolve #comment My comment"

我的问题是.可以使用智能提交功能指定修复版本吗?

My question is. Is it possible to specify fix version with smart commit feature?

推荐答案

根据

According to the JIRA DVCS plugin API documentation, there are three commands you can use:

#time
#comment
#<transition>

没有直接的命令可用于选择修订版本,但是您可能会在JIRA系统中设置触发器或挂钩,以便在过渡时为您选择修订版本,但是无法使用定义的智能提交命令.

There is no direct command to use to select the fix version, but you could likely set up a trigger or a hook in the JIRA system that will select a fix version for you upon transition, but there's no way to do it using the defined smart commit commands.

这篇关于如何使用git smart commits指定版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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