Skip to content

Commit

Permalink
Spell out git submodule deinit -f --all (#2153)
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu authored Dec 2, 2024
1 parent 5c95a5c commit b21d99b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,14 @@ $ git submodule foreach git reset --hard

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
completely messed up for some reason.

Expand Down

0 comments on commit b21d99b

Please sign in to comment.