1 2 3 4 5 6 7 8 9 10 11 12 13 14
| # 进入/volume1/git/old.git #并镜像推送到新的new.git root@DS3617xs:/volume1/git/old.git$ git push --mirror ssh://git@abc.domain.com/volume1/git/new.git # 输入用户名密码,等待完成 root@abc.domain.com password: Enumerating objects: 4171, done. Counting objects: 100% (4171/4171), done. Delta compression using up to 4 threads Compressing objects: 100% (3176/3176), done. Writing objects: 100% (4171/4171), 36.92 MiB | 8.53 MiB/s, done. Total 4171 (delta 865), reused 4171 (delta 865) remote: Resolving deltas: 100% (865/865), done. To ssh://abc.domain.com/volume1/git/new.git * [new branch] master -> master
|