I have a repository with few branches and submodules. Submodules have branches of their own. On each branch of the main repository I use a particular branch of the corresponding submodule. The SourceTree correctly tracks subbodule commits from the active branch.
However, the active submodule branch which corresponds to a given main repository branch is not always being handled by the SourceTree. When I switch main repository branches and then open submodules, SourceTree doesn't know which active branch that submodule is on even though it correctly displays the active commit. I have to explicitly put submodule on the correct branch through SourceTree GUI.
This behavior results in erroneous pull/push request from/to the submodule branches when someone forgets to explicitly put submodule on the correct branch.
It should be possible to set submodule to a correct active branch when it is open. Is this an issue with the SourceTree?
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot