如何在svn-all-fast-export Qt脚本中使用svn dcommit [英] how to use svn dcommit for svn-all-fast-export Qt script

查看:113
本文介绍了如何在svn-all-fast-export Qt脚本中使用svn dcommit的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过 svn-all-fast-export 将Subversion存储库导入到Git存储库.

I have imported the subversion repository to Git repository by svn-all-fast-export.

但是,导入项目后,我不知道如何使存储库与仍然有一些用户在使用的SVN保持同步.

However, after imported the project, I don't know the way to keep maintain reposirory synchonize with the SVN which still have some users using.

完成导入后,我找不到使用git svn fetchgit svn dcommit的方法.

I cannot find the way to use git svn fetch or git svn dcommit after done the imported.

推荐答案

SVN2Git用于一次转换.对于服务器上的SVN<-> Git同步,您需要设置任何SVN-Git网关,例如 SubGit .为此,请在服务器上运行

SVN2Git is for 1-shot conversion. For SVN <-> Git synchronization on the server, you need to setup any SVN-Git gateway like SubGit. To do that run on the server

$ subgit install path/to/svn/repository

并设置对在path/to/svn/repository/.git

或者,您可以使用 git-svn 本地,仅在服务器上使用SVN.要开始使用SVN信息库,请先对其进行克隆:

Alternatively you can use git-svn locally and just SVN on the server. To start working with SVN repository, clone it first:

$ git svn clone <URL> --stdlayout path/for/local/git/repository

要从SVN中获取更改,请运行git svn rebase并推送当前分支--- git svn dcommit

to fetch changes from SVN run git svn rebase and to push current branch --- git svn dcommit

这篇关于如何在svn-all-fast-export Qt脚本中使用svn dcommit的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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