git遷移項(xiàng)目到另一個(gè)倉庫
1. 克隆原倉庫oldProject的鏡像
git clone --mirror http://192.41.56.3:8888/demo/app.git
2. 進(jìn)入這個(gè)目錄
cd app.git/
3. 在github上創(chuàng)建一個(gè)新倉庫
4. 設(shè)置需要遷移的目標(biāo)路徑
git remote set-url --push origin
http://192.41.56.3:8888/istorm-storage/demo1/app.git
5. 推送
git push --mirror