Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Fetch all remotes(How do I "git fetch --all" in Eclipse)
Fetch all remotes [message #1386637] Wed, 18 June 2014 23:03 Go to next message
Brandon White is currently offline Brandon WhiteFriend
Messages: 3
Registered: June 2014
Junior Member
I'm trying to find a way to essentially do a "git fetch --all" from within Eclipse. Surely there is a way to do a fetch from all remotes with a single command, but I just can't seem to find it. I am filling the integration role, so I need to be able to fetch from each team member's repositories. How do I do that with one command without having to do an individual fetch for each remote?

Thanks!
Re: Fetch all remotes [message #1386708 is a reply to message #1386637] Thu, 19 June 2014 16:15 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 278
Registered: March 2012
Senior Member
On 19/06/2014 15:51, Brandon White wrote:
> I'm trying to find a way to essentially do a "git fetch --all" from
> within Eclipse. Surely there is a way to do a fetch from all remotes
> with a single command, but I just can't seem to find it. I am filling
> the integration role, so I need to be able to fetch from each team
> member's repositories. How do I do that with one command without having
> to do an individual fetch for each remote?
>
> Thanks!

Maybe right-click on the repo in the repositories view and do "Fetch
from Upstream"? Just guessing though.

Felix
Re: Fetch all remotes [message #1386713 is a reply to message #1386708] Thu, 19 June 2014 18:08 Go to previous messageGo to next message
Brandon White is currently offline Brandon WhiteFriend
Messages: 3
Registered: June 2014
Junior Member
Tried that. It just fetches from the repo that your current branch is tracking.
Re: Fetch all remotes [message #1386736 is a reply to message #1386713] Fri, 20 June 2014 00:22 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 612
Registered: July 2009
Senior Member
Do you have an entry like this for all remotes ?

[remote "<remote name>"]
url = <url>
fetch = +refs/heads/*:refs/remotes/<remote name>/*

Why do you fetch directly from the developers and don't use a server to collect the changes
from all developers ?
Re: Fetch all remotes [message #1386801 is a reply to message #1386736] Fri, 20 June 2014 15:02 Go to previous message
Brandon White is currently offline Brandon WhiteFriend
Messages: 3
Registered: June 2014
Junior Member
Matthias Sohn wrote on Thu, 19 June 2014 20:22
Do you have an entry like this for all remotes ?


Yes

Quote:
Why do you fetch directly from the developers and don't use a server to collect the changes
from all developers ?


Each developer pushes to their fork of the project on github, then I'm trying to fetch from each of their github repos. Typical forking workflow, see www.atlassian.com/git/workflows#!workflow-forking
Previous Topic:EGit Commit Performance depends on Files in Workspace
Next Topic:checkout with symlinks
Goto Forum:
  


Current Time: Thu Nov 27 00:46:12 GMT 2014

Powered by FUDForum. Page generated in 0.05150 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software