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,296,748
Community Members
 
Community Events
165
Community Groups

SourceTree: Submodule updates on clone / pull / switch branch

I recall that older versions of SourceTree used to handle submodules automatically, but it does not in more recent versions.

There does not seem to be any manual way to update submodule in SourceTree either.

This is particularly painful when there are many nested submodules.

The only way I know of updating submodules in SourceTree is to manually open each submodule (and recursively open each nested submodule) and look at the "Uncommitted changed" select only submodules that appear to have change and "Reset" the changes.

It would be nice to have options to update submodules when cloning, pulling, and switching branches. A checkbox in each of these dialogs would be sufficient.

At minimum there should be a way to manually update all submodules recursively. A warning notifying you that submodules need updating after performing an operations would also be useful.

1 comment

Oh, sorry. There is a "Recurse submodules" option when cloning under "Advanced Options".

But; nothing when pulling, checking out, or switching branched; and no manual recursive submodule update functionality.

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...

61,427 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