如何使用git svn从本地共享资源克隆

时间:2020-07-07 13:27:40

标签: git svn

这也许是微不足道的,或者已经被问了很多遍了,但是我无法使其工作:我想git svn clone存放在本地驱动器上的svn存储库(在Windows上安装为I :)。但这是行不通的。我从git bash中运行(在Windows上):

git svn clone "i/path/2folder/Subversion"

Initialized empty Git repository in C:/myLocalFolder/.git/
Bad URL passed to RA layer: Illegal repository URL 'i/path/2folder/Subversion' at /mingw64/share/perl5/site_perl/Git/SVN.pm line 148.

git svn clone -HTTP "I:/path/2folder/Subversion"

git-svn - bidirectional operations between a single Subversion tree and git
usage: git svn <command> [options] [arguments]

  clone            Initialize and fetch revisions
                     --add-author-from
                     --authors-file, -A <arg>
                     ...

使用Windows的cmdnet use,我发现I: = \\mydomain.ch\data$并运行

git svn clone "git://mydomain.ch/data$/path/2folder/Subversion"

Initialized empty Git repository in myfolder/.git/
Bad URL passed to RA layer: Unrecognized URL scheme for 'git://mydomain.ch/data$/path/2folder/Subversion' at /mingw64/share/perl5/site_perl/Git/SVN.pm line 148.

任何想法,如何克隆这样的仓库?

0 个答案:

没有答案
相关问题