完善删除 Submodule 方法.

Signed-off-by: lion.chan <cy187lion@sina.com>
This commit is contained in:
lion.chan 2020-08-09 21:20:14 +08:00
parent c5dd955f7d
commit e796f587b8
1 changed files with 2 additions and 1 deletions

View File

@ -422,8 +422,9 @@ git submodule foreach git submodule update
### 18.6 删除 Submodule
```bash
# deinit
git submodule deinit <submodule-name>
# Or before Git 1.7.8
# remove
git rm <submodule-name>
```