[git]快速迁移git仓库

git clone --bare http://域名/分组/仓库名称.git

cd 仓库名称.git

git push --mirror http://新域名/新分组/新仓库名称.git -f

 

posted @ 2021-01-23 10:24  landv  阅读(245)  评论(0编辑  收藏  举报