I use source tree to manage my git repository. My repository has a submodule. Whenever I change the branch or create one, the submodule moves to another commit. This happens because a branch checkout is always followed by "git submodule update --recursive"
This is often not what I want. Is there a way to switch branches of the parent git repository without moving the submodule head pointer?
The only work around I have found is to open up terminal and use command line git.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.