git 迁移项目,旧仓库迁移到新仓库

参考

git项目迁移

git clone --bare https://username%40foxmail.com:password@gitee.com/yyyy360/old-project.git
cd old-project
git push --mirror https://username%40foxmail.com:password@gitee.com/yyyy360/new-project.git

git clone --bare https://xxxxx%40qq.com:password@gitee.com/mm360/old-project.git
git push --mirror https://umgit%40yyyyjiankang.com:A123456a@gitee.com/yyyy_health/new-project.git
git config --global user.name "xxxxx"
git config --global user.email "xxxxx%40qq.com"
ssh-keygen -t rsa -C "xxxxx%40qq.com"
git clone https://xxxxx%40qq.com:password@gitee.com/xxxxx/zzz-boot.git
posted @ 2023-05-11 22:43  一只桔子2233  阅读(125)  评论(0编辑  收藏  举报