gitLab仓库的迁移

版权所有,禁止匿名转载;禁止商业使用。

终端指令操作如下,进行仓库的迁移
两个地址分别为旧的git地址,和新的仓库地址
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
0 0