1.git clone --bare https://gitee.com/lhmf_backend/*****.git
(中間輸入原倉庫的 賬號密碼)
(然後終端 上會顯示文件進度)
2.cd *****.git (然後進入到項目的.git 下)
3.git push —mirror https://warehouse.wmsoo.com/ios/*****.git
(需要電腦登錄權限密碼, 和新倉庫的賬號密碼)
1.git clone --bare https://gitee.com/lhmf_backend/*****.git
(中間輸入原倉庫的 賬號密碼)
(然後終端 上會顯示文件進度)
2.cd *****.git (然後進入到項目的.git 下)
3.git push —mirror https://warehouse.wmsoo.com/ios/*****.git
(需要電腦登錄權限密碼, 和新倉庫的賬號密碼)
一: 安裝openssl和pcre yum -y install pcre-devel openssl openssl-devel 安裝git yum install git -y