简体   繁体   English

使用TortoiseGit,我可以一步提交和svn dcommit吗?

[英]Using TortoiseGit, can I commit and svn dcommit in one step?

I am using TortoiseGit and am working with an svn repository using git-svn. 我正在使用TortoiseGit,并且正在使用git-svn使用svn存储库。

Sometimes I want to make a one line change and dcommit it to the svn repo immediately (so the CI server will pick up the change). 有时我想进行一行更改,然后立即将其提交到svn存储库中(这样CI服务器将接收更改)。

Currently I have to git commit, then dcommit. 目前,我必须先进行git commit,然后进行dcommit。 It's an extra step for something I want to do quickly...it would be nice if I could just commit and dcommit in one step. 对于我想快速执行的操作来说,这是一个额外的步骤……如果我可以一步一步提交和取消提交,那就太好了。 Alternatively, is there a command line command I could use to do the same thing? 另外,是否可以使用命令行命令执行相同的操作?

The svn commands from TortoiseGit are: TortoiseGit的svn命令是:

So regarding the GUI, may be opening a new ticket would be a good idea. 因此,对于GUI而言,可能需要打开新票证。

As for the command-line, I do not think there is a native git command able to do that, which leaves a custom script to achieve that sequence (similar in principal to the one in this " Showing commits not yet on master " article, at the end of it). 至于命令行,我认为没有一个本地的git命令能够做到这一点,它留下了一个自定义脚本来实现该顺序(原则上类似于本“ 在主文档中显示提交 ”一文,在它的结尾)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM