I am not able to access the methods of submodule in superproject.
When I try to access it, that submodule refers only to master
branch: its local branch does not change even after getting the localbranch
changes in submodule.
I am not able to access the methods of submodule in superproject.
When I try to access it, that submodule refers only to master
branch: its local branch does not change even after getting the localbranch
changes in submodule.
If you modify the branch of a submodule, that means it will checkout a different commit than the one initially recorded by the parent project as "gitlink" (a special entry in the index of the main repo)
That means you need to go back to the parent repository, do a git add
/git commit
and push.
That way, another clone of the parent repository will see the right content in its associated submodule.