git - 如何使用 git svn 从本地共享存储库克隆
问题描述
也许这是微不足道的或已被多次询问,但我无法使其工作:我想要git svn clone
一个位于本地驱动器上的 svn 存储库(安装为 I:在 Windows 上)。但它不起作用。从 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' cmd
,net 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.
任何想法,如何克隆这样的回购?
解决方案
推荐阅读
- javascript - 为什么很多按钮只执行一项任务?
- python - Pyspark partitionBy:如何对数据进行分区然后选择列
- python - MultiOutputClassifier 只返回学习数据
- pine-script - 运行中位数计算似乎继续使用相同的输入
- amazon-web-services - AWS Amplify 模拟存储
- c++ - 有没有办法在单个正则表达式中组合不连续的捕获组?
- c - 使用 C 中的通用控件创建简单的树视图
- javascript - 从另一个集合更新 firestore 数组
- c# - 用按钮控制视频播放器并改变场景
- fortran - 如何在文本文件中写 Ω 或任何其他希腊字母?