变更记录

序号 录入时间 录入人 备注
1 2018-12-10 Alfred Jiang -

方案名称

Git - 切换 Git 服务器或仓库

关键字

Git \ 切换

需求场景

  1. 需要进行 Git 服务器或仓库切换时

参考链接

  1. Stack Overflow - Import an existing git project into GitLab?(推荐)

详细内容

1
2
3
4
git clone --mirror https://github.com/raveren/kint
cd kint.git
git remote add gitlab http://gitlab.example.com/raveren/kint.git
git push gitlab --mirror

效果图

(无)

备注

(无)