book: Mention git submodule sync too

This commit is contained in:
Blaž Hrastnik 2021-11-07 10:33:05 +09:00 committed by GitHub
parent acced82be6
commit 29fe504398
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ ## Common Issues
- If you get errors when building after switching branches, you may have to remove or update tree-sitter submodules. You can update submodules by running - If you get errors when building after switching branches, you may have to remove or update tree-sitter submodules. You can update submodules by running
```sh ```sh
$ git submodule update --init $ git submodule sync; git submodule update --init
``` ```
- Make sure to not use the `--remote` flag. To remove submodules look inside the `.gitmodules` and remove directories that are not present inside of it. - Make sure to not use the `--remote` flag. To remove submodules look inside the `.gitmodules` and remove directories that are not present inside of it.