git submodule 删除子模块

2023-05-06  本文已影响0人  李留白

假设 submodule 名称为 test.

1. git submodule deinit -f -- test    
2. rm -rf .git/modules/test
3. git rm -f test
4. git rm --cached test
上一篇 下一篇

猜你喜欢

热点阅读