Hello,
I would kindly ask if it possible to add to SourceTree that the checkout command could be configurable in such a way that you could add the --recursu-submodules flag to the checkout command.
So I would like to checkout to a specific branch like this:
git checkout --recurse-submodules myBranchToCheckoutOut
As I have investigated, this is not supported right now.
Why is this good to have? For example if I have removed a submodule from my project and checkout to an older commit which still has the submodule and the come back to my master branch, the submodule folder will still linger around.
This recurse submodule flag, prevents the unwanted submodule to be there, after coming from a commit which still has it.
If I am wrong and this is possible to configure, please explain how I can do this :).
Kind regards,
Domen Golob