[英]Import a git repo into an empty branch
git remote add rweb git://whereever git fetch rweb
瞧,你有一個存儲庫。 也許你還想創建一個分支,使其易於訪問和推送:
git branch website rweb/master git push origin website
從空分支開始並轉儲網站樹將具有丟失所有歷史記錄的缺點。
我想這將是git子模塊的一個案例
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.