1 clone老项目
# git clone git@xxxx/demo.git
2 进入到demo目录
# cd demo
3 移除老项目的地址替换成新项目
# git remote set-url --push origin git@xxx/account.git
4 将镜像推到远程
# git push -u origin master
标签:origin,git,项目,demo,clone,gitlab,Git From: https://www.cnblogs.com/C-target/p/17407987.html