Browse Source
Modern `git` can use `submodule` option `update` instead of `foreach` to achieve approximately similar outcome. To allows call without assuming that all submodules will have default branch as `master`, the preferred approach would be to call `git submodule update --remote --recursive` after registering the correct branch for submodule in `.gitmodules`: ``` git config -f .gitmodules submodule.<path>.branch <branch> ``` For more discussion, see: https://stackoverflow.com/a/33835815 Signed-off-by: Indrajit Raychaudhuri <irc@indrajit.com>master
hidekuro
4 years ago
committed by
Indrajit Raychaudhuri
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue