[git]快速迁移git仓库

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

cd 仓库名称.git

git push --mirror http://新域名/新分组/新仓库名称.git -f
网名:浩秦;
邮箱:root#landv.pw;
博客:landv.cnblogs.com;
只要我能控制一個國家的貨幣發行,我不在乎誰制定法律。金錢一旦作響,壞話隨之戛然而止。
原文地址:https://www.cnblogs.com/landv/p/14316757.html