SourceTree: pull all repositores

Is there any way to pull all repositorores in SourceTree? I have multiple projects there and I pull each of them individually. Does SourceTree have feature to do it collectively at one time?

6 answers

1 accepted

0 votes
Accepted answer

You can only do fetch for all repos (Tools/Options/General/Check default remotes for updates...). Since pulling involves operations which can destroy uncommitted changes, it would be unwise to auto-pull everything.

That makes sense, however I don't see option 'Tools/Options/General/Check default remotes for updates'.

Cannot paste a screenshot here, will try to explain:

Tools menu/Options item opens a dialog.

On the General tab of this dialog, there is an option (3rd checkbox in the Misc section) called Check default remotes for updates every [10] minutes. This is the one I mean.

(I have windows, might look a bit different in the Mac version.)

Check the other menus for an item called options. It might be in "Window", that is in the same place as Tools in Windows.

OK, now I understand, there's some difference in OS X version.

Just for reference (I know this is a 4 year old question), on Mac, this is located at the SourceTree menu, then Preferences (or the usual Cmd+"," combination), on the general tab.

Alejandro - That option just does a check and notifies you. What Kamil was looking for was a way to do a pull on all repositories.

@Frank Lämmer Please submit a feature request at jira.atlassian.com. A +1 here means nothing.

I don't believe Git provides a tool for this, so SourceTree will likely not either.

Consider creating a feature request at jira.atlassian.com and posting the link to the request here as an answer. However, since Git does not support the feature, I don't expect Atlassian will either.

I think that my feature might be misunderstood.

I mean something like "pull from all repositories". So it's a matter of SourceTree not Git. How I can see this implementation is to run `git pull` for every repository with one click (in a simple loop or in seperate threads).

No, I understand. My impression is that SourceTree commands wrap single git commands.

I could be wrong about their reaction to this request, so a feature request at jira.atlassian.com is still a good idea.

That makes sense, however I don't see option 'Tools/Options/General/Check default remotes for updates'.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 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...

828 views 3 2
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