Home avatar

本人基于 hugo 来构建的个人博客,主题使用的是 FixIt

Git 子模块使用

删除子模块

1
2
3
4
5
6
7
8
# 从配置中删除子模块信息。.git/config
git submodule deinit -f path/to/submodule

# 删除 git 子模块文件
rm -rf .git/modules/path/to/submodule

# 取消跟踪子模块文件
git rm -f path/to/submodule
0%