I have a parent (git) project with a submodule (git).
However, when I update the submodule in the parent/develop branch, the parent/master branch also contains the updated submodule files...
So while I want to test my parent code with the updated submodule code, the updates submodule code already appears in master ... what a disaster... that could create.
How do I solve this?
(Using SourceTree git on Mac).