Below you will find pages that utilize the taxonomy term “Submodule”
Posts
Git子模板submodule的删除操作
git submodule子模块的删除操作
git submodule deinit {module_name}
git rm --cached {module_name}
git commit -am "removed submodule"
clone带子模板的git仓库
# 先clone仓库
git clone http://xxx
# 初始化子模块, 创建文件夹
git submodule init
# 拉取子模块代码
git submodule update
或者一条命令搞定
git submodule update --init --recursive
添加子模块
git submodule add http://xxxx sub_path
git commit -m "add submodule"