submodule
拉取主仓库
git clone [email protected]:smallcgq/xbook.git --recurse-submodules添加其他仓库到当前仓库
git submodule add https://github.com/alex-shpak/hugo-book themes/book
git clone https://github.com/alex-shpak/hugo-book --recursive同步其他仓库更新
//一步到位,不用挨个查找,直接遍历一遍
git submodule foreach git pull删除submodule
git submodule deinit themes/book
最后更新于