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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.