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
arrow
arrow
    文章標籤
    git git submodule gitmodules
    全站熱搜
    創作者介紹
    創作者 dreamtails 的頭像
    dreamtails

    雜七雜八的小筆記!

    dreamtails 發表在 痞客邦 留言(0) 人氣()