1.先將git項目下載到本地
git clone --bare xxx.git
2.進入xxx.git文件夾勉抓,然后在文件夾中執(zhí)行
git push --mirror xxx2.git
備注腺逛,如果https證書過期沮稚,可以執(zhí)行如下命令
git config --global http.sslVerify "false"
1.先將git項目下載到本地
git clone --bare xxx.git
2.進入xxx.git文件夾勉抓,然后在文件夾中執(zhí)行
git push --mirror xxx2.git
備注腺逛,如果https證書過期沮稚,可以執(zhí)行如下命令
git config --global http.sslVerify "false"