update
This commit is contained in:
3
demodule.sh
Normal file
3
demodule.sh
Normal 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
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
"build:web": "cd frontend && pnpm build",
|
"build:web": "cd frontend && pnpm build",
|
||||||
"serve": "cd backend && bun run src/main.ts",
|
"serve": "cd backend && bun run src/main.ts",
|
||||||
"init": "git submodule update --init --recursive",
|
"init": "git submodule update --init --recursive",
|
||||||
"clean:module": "rm .gitmodules -rf && rm -rf .git/modules"
|
"clean:module": "sh demodules.sh"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
|
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
|
||||||
|
|||||||
Reference in New Issue
Block a user