三行命令即可完成: git clone --bare http://域名/分組/倉庫名稱.git cd 倉庫名稱.git git push --mirror http://新域名/新分組/新倉庫名稱.git