git - svn 平滑到 git

时间:2023-03-09 02:11:56
git - svn 平滑到 git

1. 建立自己的git仓库,需要是空git仓库

2. checkout 你的 git仓库

3. svn忽略.git文件,忽略.git  .gitignore

4. 把 .git文件拷到你的 svn仓库

5. git 上传文件

————可以用,但是不符合我的情况————

1. 所有需要用到的:git svn

帮助文档: http://git-scm.com/book/zh-tw/Git-%E8%88%87%E5%85%B6%E4%BB%96%E7%B3%BB%E7%B5%B1-Git-%E8%88%87-Subversion

2. 额外好玩的:http://subgit.com/documentation/index.html

我只想说,做这个兄弟还真是丧心病狂坑svn...