Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,527
Community Members
 
Community Events
168
Community Groups

SourceTree: pull all repositores

Deleted user Jun 26, 2014

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?

7 answers

1 accepted

0 votes
Answer accepted

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.

Deleted user Jul 07, 2014

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.

Deleted user Jul 07, 2014

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

Deleted user Jul 07, 2014

Don't see any Tools menu http://take.ms/VzcTB

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.

1 vote
Seth Rising Star Feb 20, 2015

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

Isn't there a way to achieve this with a 'Custom actions' script?

0 votes
Deleted user Jul 07, 2014

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

0 votes
Deleted user Jun 26, 2014

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).

Seth Rising Star Jun 26, 2014

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.

0 votes
Seth Rising Star Jun 26, 2014

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.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events