Spell out `git submodule deinit -f --all` (#2153)

This commit is contained in:
许杰友 Jieyou Xu (Joe) 2024-12-02 12:45:30 +08:00 committed by GitHub
parent 54c6a86858
commit 8df3580d08
1 changed files with 8 additions and 0 deletions

View File

@ -597,6 +597,14 @@ $ git submodule foreach git reset --hard
and then try `git submodule update` again. and then try `git submodule update` again.
### Deinit git submodules
If that doesn't work, you can try to deinit all git submodules...
```
git submodule deinit -f --all
```
Unfortunately sometimes your local git submodules configuration can become Unfortunately sometimes your local git submodules configuration can become
completely messed up for some reason. completely messed up for some reason.