3 lines
214 B
Bash
3 lines
214 B
Bash
# !/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 |