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?

Thanks

Aravind Viswanathan

2 answers

0 vote
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 vote

Hi

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

.From https://git-scm.com/book/en/v2/Git-Tools-Submodules

Sourcetree does not currently support that functionality

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 11, 2018 in Sourcetree

Tip from the team: debugging Sourcetree

Supported Platforms macOS Windows If you're reading this and it's not just educational… we know you're unhappy right now and apologize for that   We're dedicated to improving yo...

430 views 5 6
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