You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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