1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# 本代码以迁移仓库:testing 为例子说明
# 整理用户列表
将要迁移的svn仓库中的所涉及到的所有用户整理成git的格式,保存为文件:svn-
users
.txt,格式如下:
admin = admin <[email protected]>
user1 = user1 <[email protected]>
# 将svn仓库下载到本地
git svn clone --ignore-path=
'test/|testcase'
http:
//192.168.39.1
/svn/testing
--authors-
file
=svn-
users
.txt --no-metadata testing
# 在gitlab服务器中创建好git仓库:testing
# 将本地的代码上传到gitlab
cd
testing
git push origin master
|
svn迁移到git
猜你喜欢
转载自blog.csdn.net/alittleyatou/article/details/80251341
今日推荐
周排行