【问题标题】:Bonobo Git Server and SVNBonobo Git 服务器和 SVN
【发布时间】:2014-12-15 14:15:10
【问题描述】:

我已经在本地安装了 Bonobo Git Server (3.4.2.0)。我有一个包含旧存储库的 SVN 服务器? 如何导入这些存储库以在 Bonobo Git 服务器下工作。

【问题讨论】:

    标签: git bonobo


    【解决方案1】:

    我也是,曾经/现在必须将我们的 SVN 存储库迁移到 git(使用 Bonobo 服务器)。

    几乎遵循Troy Hunts' blog 帖子here 中的说明

    我创建了一个将 svn 用户映射到 git 用户的作者文件,因此将 --authors ../authors.txt 附加到 svn2git 命令行。

    提供作者文件时,如果文件中没有记录,svn2git 将停止。

    作者文件格式为每位作者 1 行
    SVNUser = 全名

    【讨论】:

    • 感谢该博客的链接:这帮助我将一个大型项目的 100 多个修订版移至 git。
    【解决方案2】:
    【解决方案3】:

    我做的是

    1 在 Bonobo 中创建一个新的 repo

    2 将其克隆到我的桌面

    3 在克隆中,

    git svn init http://192.168.x.y/svn/my_repo/trunk
    git svn fetch
    git push origin master
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-10-25
      • 2021-02-22
      • 1970-01-01
      • 1970-01-01
      • 2013-10-05
      • 2017-01-30
      • 1970-01-01
      相关资源
      最近更新 更多