git 仓库迁移

old_repo=https://github.com/CodisLabs/codis.git
new_repo=https://git.aigauss.com/infra/codis.git

git clone  --bare $old_repo
cd codis.git
git push --mirror $new_repo

你可能感兴趣的:(git 仓库迁移)