svn to git

SVN to git

配置用户:

#git config --global user.name "root"
#git config --global user.email "admin@example.com"

执行如下步骤:


1、 git svn clone http://192.168.1.1/svn//myproject desdir   

2、cd desdir

3、git init

4、git remote add origin git@192.168.3.3:root/test.git

5、git push -u origin master

posted @ 2016-07-08 15:57  干货市场  阅读(208)  评论(0编辑  收藏  举报