场景需求

公司采用svn作为版本管理系统,因为感觉git开发更为方便,比如可以随便开分支,多个需求同时开发等等,便想找一种方式:

  • 可以同步svn仓库到git仓库
  • 最好可以将本地git commit经过转换直接提交到svn
    经过资料搜查,发现了git官网上的git svn工具

使用方法

从svn同步代码

git svn clone "svn仓库地址"

拉取svn最新提交

git svn fetch
git svn rebase

参考资料

  1. https://git-scm.com/docs/git-svn/2.11.4
  2. https://git-scm.com/book/zh/v2/Git-与其他系统-作为客户端的-Git

相关文章:

  • 2021-11-21
  • 2022-12-23
  • 2021-12-03
  • 2021-04-09
  • 2022-12-23
  • 2022-02-23
  • 2022-01-30
  • 2021-10-03
猜你喜欢
  • 2021-12-13
  • 2021-06-28
  • 2021-07-09
  • 2021-12-10
  • 2022-02-10
  • 2021-12-12
相关资源
相似解决方案