我完全找不到任何解释我应该如何指定现有 svn 存储库的位置。
换句话说 - 什么应该用作
中的 URLgit svn clone URL
什么时候svn仓库是本地的?
最佳答案
你应该能够像这样成功:
git svn clone file:///e/svn_repo_on_E_drive
类似于svn checkout命令:
svn co file:///e/svn_repo_on_E_drive
file://
用于执行 CMD 提示的当前驱动器上的文件夹,file:///d/some_folder
用于 D:\some_folder
.
注意:Windows 文件链接中多余的 /
和去掉的冒号 :
。 file://e:/svn_repo_on_E_drive
→ file:///e/svn_repo_on_E_drive
关于git - 如何克隆本地 svn 存储库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15374353/