git - 如何克隆本地 svn 存储库?

标签 git clone git-svn

我完全找不到任何解释我应该如何指定现有 svn 存储库的位置。

换句话说 - 什么应该用作

中的 URL
git 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_drivefile:///e/svn_repo_on_E_drive

关于git - 如何克隆本地 svn 存储库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15374353/

相关文章:

Git 找不到标签或提交哈希的远程引用

git 无法执行任何任务

facebook - Facebook 的开源替代品是什么?

Git 工作流 : forking a project and maintaing a local modified copy, 但保持最新

clone - FabricJS 克隆对象影响旧(默认)对象

python - 在 Python 中使用循环创建交替字典

git - 颠覆 Git : Clone creating branches?

git - 将新提交添加到现有 Git 标记

svn - 修复 git-svn "File or directory is out of date; try updating"

git将多个提交压缩为多个提交