We have a repo that contains submodules because it makes organizing folder structure compatible with a 3rd party product we are stuck using.
What exactly does this option do?? I know submodules point to a specific commit, not to a branch. But with git there is also the option to add branch = xxxxx to .gitmodules file.
It seems the option runs:
git clone --recurse-submodules
is there a standard way to get each branch to the latest branch develop??
I assume: git submodule foreach --recursive 'git checkout develop; git pull'
Thanks!
Hi!
We are facing the same issue.
BTW, we are added git aliases for the standard command which include submodule commands.
Hope it helps
Cheers,
Gonchik Tsymzhitov
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.