Question regarding updating all submodules when doing a Pull

Hi Team,

With the latest SourceTree, is there a way to update all submodules when doing a Pull?


Aravind Viswanathan

2 answers

0 votes
Mike Corsaro Atlassian Team Jan 26, 2018

Hello! Can you go to "Options -> Git" and make sure "Perform submodule actions recursively" is checked? That should run `submodule update --init` when pulling.

I have that checked, but it's not running `submodule update` in version 2.7.

0 votes


I believe you are looking for the following behaviour:

There is an easier way to do this as well, if you prefer to not manually fetch and merge in the subdirectory. If you run git submodule update --remote, Git will go into your submodules and fetch and update for you


Sourcetree does not currently support that functionality

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

246 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot