SVN库迁移到GitHub

创建新目录,cmd进入到新目录,执行如下命令:

  1. git svn init svn://10.10.10.10/net/QA_Dept
  2. git svn fetch
  3. git remote add origin https://git.net.com/AutomationTeam/QA_Dept.git
  4. git config branch.master.remote origin
  5. git config branch.master.merge refs/heads/master

然后使用GitExtention PUSH到GitHub服务器即可。

原文地址:https://www.cnblogs.com/xingfuxiaokong/p/11468670.html