方法一、命令行迁移
第1步:从原地址克隆一份裸版本库
git clone --bare https://username:password@gitlab.shuzhuo.com/demo.git
第2步: 以镜像推送的方式上传代码
git push --mirror http://username:psaaword@127.0.0.1/demo.git
方法二、gitlab 直接克隆导入
直接选Any repo by URL 输入即可
方法一、命令行迁移
第1步:从原地址克隆一份裸版本库
git clone --bare https://username:password@gitlab.shuzhuo.com/demo.git
第2步: 以镜像推送的方式上传代码
git push --mirror http://username:psaaword@127.0.0.1/demo.git
方法二、gitlab 直接克隆导入
直接选Any repo by URL 输入即可