方法
從SciTE打開,在2016fallcadp_bg6資料夾內的.gitmodules檔案,把該組員的子模組設定刪除後就可以存檔
[submodule "40423206"]
path = 40423206
url = https://github.com/40423206/2016fallcadp_hw.git
branch = gh-pages
[submodule "40423224"]
path = 40423224
url = https://github.com/40423224/2016fallcadp_hw.git
branch = gh-pages
[submodule "2016fallcadp_hw"]
path = 2016fallcadp_hw
url = https://github.com/40423226/2016fallcadp_hw.git
branch = gh-pages
[submodule "40423229"]
path = 40423229
url = https://github.com/40423229/2016fallcadp_hw.git
branch = gh-pages
[submodule "40423214"]
path = 40423214
url = https://github.com/40423214/2016fallcadp_hw.git
branch = gh-pages
[submodule "40423216"]
path = 40423216
url = https://github.com/40423216/2016fallcadp_hw.git
branch = gh-pages
如果有打下面的指令,把各組員子模組的資料抓近來,記得要把2016fallcadp_bg6\.git\modules裡該組員的隱藏資料夾刪掉
git submodule update --init --recursive
就可以重新執行指令,把組員的子模組加進來
git submodule add -b gh-pages https://github.com/40423226/2016fallcadp_hw.git 40423226