close
首先,先進入Git repo,並編輯.gitmodules檔案
[submodule "mygitsubmodule"] path = mygitsubmodule url = https://github.com/dreamtails/mygitsubmodule branch = feature/dreamtails
在branch的等於後面輸入你的feature branch名稱就可以sync那個feature branch了。
怎麼sync呢? 請下以下指令
git submodule update --init --recursive --remote
文章標籤
全站熱搜