Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,207
Community Members
 
Community Events
165
Community Groups

Checkout with recurse submodules flag

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

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

62,258 views 127 27
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you