父仓库中包含了子仓库,第一次拉取子仓库代码
git submodule init
git submodule sync
git submodule update
暂存本地修改(暂存后可切换分支)
git stash
git stash pop (还原修改内容)
父仓库中包含了子仓库,第一次拉取子仓库代码
git submodule init
git submodule sync
git submodule update
暂存本地修改(暂存后可切换分支)
git stash
git stash pop (还原修改内容)