2011-12-26 85 views
2

SVN的新功能之一是问题跟踪器集成。这些让你添加提交钩子来使SVN解析错误或问题编号的日志消息,并将它们与你的问题跟踪系统相关联。git svn dcommit bug id

enter image description here

我使用Git SVN通过混帐SVN的工作。 是三位中的任何possibilitty做出与错误ID提交,使用

git svn dcommit 

?非常感谢。

回答

1

文本框正在做的就是在提交消息的末尾附加<newline>Issue: %BUGID%。你应该能够做到这一点,作为git commit的一部分。 Git的每一次提交都是SVN的单独提交,所有dcommit都会将这些提交推送到SVN。例如:

git commit -F- <<EOF 
Fixing issue in blah blah blah because of blah blah. 
Issue: 1234 
EOF 
//Any more commits... 
git svn dcommit 

可以为更多的信息,请阅读Add line break to git commit -m from command line大约GIT中换行提交。

相关问题