mcc, Git submodule question. Yes, I know, your advice is probably "don't use submodules". But.
Is it possible to clone a repo with submodules such the submodule branches are "activated" after clone?
Like, in .gitmodules we say:
[submodule "local/path"]
path = local/path
url = remote/path
branch = BRANCHNAMEWe hoped branch = BRANCHNAME would make it activate BRANCHNAME on clone. But no, it checks out as "detatched head", which later makes VSCode confused. Can we do better?
Add comment