如何把git的库迁移到svn

129 views
Skip to first unread message

enzo fang

unread,
Jun 12, 2011, 11:09:07 PM6/12/11
to linux-...@zh-kernel.org
大家好,
我自已用的git管理代码,现在公司要统一用svn,怎样把我以前的git管理的代码
导入到svn的库里,保留以前的分支.log之类的信息,网上没有找解决方法,各位有没有这方面经验?谢谢

--
Best Regards
enzofang
_______________________________________________
Linux 内核开发中文邮件列表
Linux-...@zh-kernel.org
http://zh-kernel.org/mailman/listinfo/linux-kernel
Linux 内核开发中文社区: http://zh-kernel.org

xx

unread,
Jun 13, 2011, 2:18:29 AM6/13/11
to enzo fang, linux-...@zh-kernel.org
git-svn可以。

2011/6/13 enzo fang <feixian...@gmail.com>

enzo fang

unread,
Jun 13, 2011, 3:18:48 AM6/13/11
to xx, linux-...@zh-kernel.org
git-svn是从svn库迁移到git用的,我的情况与这相反
忘记cc了,重发一次

2011/6/13 xx <xx.k...@gmail.com>

Alvin Zhang

unread,
Jun 13, 2011, 4:55:54 AM6/13/11
to enzo fang, linux-...@zh-kernel.org
2011/6/13 enzo fang <feixian...@gmail.com>

> git-svn是从svn库迁移到git用的,我的情况与这相反
>
我正努力从svn到git呢,svn删掉一些东西倒是试过,找svn的list archieve搜搜

随便搜到一篇:http://infotexture.net/2010/02/git-to-svn-and-back-again/

--

~Alvin

Li Haifeng

unread,
Jun 13, 2011, 6:48:13 AM6/13/11
to Alvin Zhang, linux-...@zh-kernel.org
git-svn可以啊。我前段时间把github的项目转化google code svn版本的


2011/6/13 Alvin Zhang <qzha...@gmail.com>

--
Li Haifeng
Laboratory of Service Computing Technology and System
Home page:http://tek-life.org

xx

unread,
Jun 13, 2011, 6:55:08 AM6/13/11
to Alvin Zhang, linux-...@zh-kernel.org
你用git svn,clone一个git 仓库到本地转化成svn的。是可以的。

2011/6/13 Li Haifeng <omy...@gmail.com>

enzo fang

unread,
Jun 13, 2011, 11:04:16 PM6/13/11
to xx, linux-...@zh-kernel.org
我又搜了下,好象是可以,等有时间再研究下

2011/6/13 xx <xx.k...@gmail.com>

Reply all
Reply to author
Forward
0 new messages