What is the difference between running
git submodule update --remote
vs
cd <submodule directoy>
git pull
Assuming that the submodule was previously set to track some branch:
git submodule add -b master [URL to Git repo]
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…