Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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.


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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,695 views 4 12
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