* git gui: how to fetch a single branch
@ 2012-02-23 23:58 Matt Seitz (matseitz)
2012-02-24 16:57 ` Neal Kreitzinger
0 siblings, 1 reply; 2+ messages in thread
From: Matt Seitz (matseitz) @ 2012-02-23 23:58 UTC (permalink / raw)
To: git
How can I use "git gui" to fetch a single branch from a remote
repository?
If I select Remote->Fetch From, and then a remote repository, it appears
to always fetch all the branches from the remote repository with no
option to select which branch I want to fetch.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git gui: how to fetch a single branch
2012-02-23 23:58 git gui: how to fetch a single branch Matt Seitz (matseitz)
@ 2012-02-24 16:57 ` Neal Kreitzinger
0 siblings, 0 replies; 2+ messages in thread
From: Neal Kreitzinger @ 2012-02-24 16:57 UTC (permalink / raw)
To: Matt Seitz (matseitz); +Cc: git
On 2/23/2012 5:58 PM, Matt Seitz (matseitz) wrote:
> How can I use "git gui" to fetch a single branch from a remote
> repository?
>
> If I select Remote->Fetch From, and then a remote repository, it appears
> to always fetch all the branches from the remote repository with no
> option to select which branch I want to fetch.
>
One way you can do it is to create a remote to that branch (see -t
option of git remote manpage). Then fetching that remote only fetches
that branch. Of course, this is practical if you are interested in
fetching certain branches consistently, but not as practical for
fetching random single branches frequently.
v/r,
neal
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-24 16:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-23 23:58 git gui: how to fetch a single branch Matt Seitz (matseitz)
2012-02-24 16:57 ` Neal Kreitzinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).