This commit is contained in:
2025-12-02 09:04:05 +08:00
parent ec8e96892f
commit 5f4a0e43eb
2 changed files with 4 additions and 1 deletions

3
demodule.sh Normal file
View File

@@ -0,0 +1,3 @@
# !/bin/sh
## 功能:彻底删除 git 子模块相关信息
git submodule deinit -f . && rm -rf .git/modules && git rm -f $(git config --file .gitmodules --get-regexp path | awk '{print $2}') && rm -f .gitmodules