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

Question regarding updating all submodules when doing a Pull

Aravind Viswanathan January 25, 2018

Hi Team,

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

Thanks

Aravind Viswanathan

2 answers

0 votes
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 26, 2018

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

0 votes
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 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.

Dasa February 13, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events