* creating tracking branches with git gui
@ 2008-05-07 8:04 Sitaram Chamarty
2008-05-08 3:06 ` Sitaram Chamarty
0 siblings, 1 reply; 4+ messages in thread
From: Sitaram Chamarty @ 2008-05-07 8:04 UTC (permalink / raw)
To: git
Hello,
Using git gui to create tracking branches only creates the local
branch, but does not establish tracking. Using the command "git
branch newbr origin/newbr" works as expected of course.
I clicked on "Branch", then "Create", chose the "Match Tracking Branch
Name" radio button, chose the appropriate branch (origin/newbr) in the
list below, then finally hit Create at the bottom right.
I can write up a more detailed note if required but I thought I'd ask
if this was a bug in my understanding first :-)
Thanks,
Sitaram
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: creating tracking branches with git gui
2008-05-07 8:04 creating tracking branches with git gui Sitaram Chamarty
@ 2008-05-08 3:06 ` Sitaram Chamarty
2008-05-08 23:41 ` Shawn O. Pearce
0 siblings, 1 reply; 4+ messages in thread
From: Sitaram Chamarty @ 2008-05-08 3:06 UTC (permalink / raw)
To: git
Can someone help me with this please or at least put me out of my misery? :-)
Over on another thread I found a config variable called
gui.matchtrackingbranch, but setting that to true only saved me a
mouse click -- it didn't really create the tracking, as seen by "git
remote show origin".
Thanks,
Sitaram
On Wed, May 7, 2008 at 1:34 PM, Sitaram Chamarty <sitaramc@gmail.com> wrote:
> Hello,
>
> Using git gui to create tracking branches only creates the local
> branch, but does not establish tracking. Using the command "git
> branch newbr origin/newbr" works as expected of course.
>
> I clicked on "Branch", then "Create", chose the "Match Tracking Branch
> Name" radio button, chose the appropriate branch (origin/newbr) in the
> list below, then finally hit Create at the bottom right.
>
> I can write up a more detailed note if required but I thought I'd ask
> if this was a bug in my understanding first :-)
>
> Thanks,
>
> Sitaram
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: creating tracking branches with git gui
2008-05-08 3:06 ` Sitaram Chamarty
@ 2008-05-08 23:41 ` Shawn O. Pearce
2008-05-09 18:20 ` Sitaram Chamarty
0 siblings, 1 reply; 4+ messages in thread
From: Shawn O. Pearce @ 2008-05-08 23:41 UTC (permalink / raw)
To: Sitaram Chamarty; +Cc: git
Sitaram Chamarty <sitaramc@gmail.com> wrote:
>
> Over on another thread I found a config variable called
> gui.matchtrackingbranch, but setting that to true only saved me a
> mouse click -- it didn't really create the tracking, as seen by "git
> remote show origin".
Yea, I think that option actually predates the --track thing that
git-branch does these days. Its designed to save a mouse click if
you are working in a corporate centralized repository model and
need to switch branches multiple times per day, always grabbing
the latest from the centralized repository when possible.
> On Wed, May 7, 2008 at 1:34 PM, Sitaram Chamarty <sitaramc@gmail.com> wrote:
> >
> > Using git gui to create tracking branches only creates the local
> > branch, but does not establish tracking. Using the command "git
> > branch newbr origin/newbr" works as expected of course.
> >
> > I clicked on "Branch", then "Create", chose the "Match Tracking Branch
> > Name" radio button, chose the appropriate branch (origin/newbr) in the
> > list below, then finally hit Create at the bottom right.
Right.
I don't use the --track feature (branch.$name.remote, branch.$name.merge)
in my own work, so I have never had the desire or need to make sure that
git-gui sets this up for you.
I'll try to work up a patch this evening.
--
Shawn.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: creating tracking branches with git gui
2008-05-08 23:41 ` Shawn O. Pearce
@ 2008-05-09 18:20 ` Sitaram Chamarty
0 siblings, 0 replies; 4+ messages in thread
From: Sitaram Chamarty @ 2008-05-09 18:20 UTC (permalink / raw)
To: git
On Fri, May 9, 2008 at 5:11 AM, Shawn O. Pearce <spearce@spearce.org> wrote:
> Yea, I think that option actually predates the --track thing that
> git-branch does these days. Its designed to save a mouse click if
> I don't use the --track feature (branch.$name.remote, branch.$name.merge)
> in my own work, so I have never had the desire or need to make sure that
> git-gui sets this up for you.
>
> I'll try to work up a patch this evening.
Thanks -- I appreciate it.
The tracking feature is very useful; even though I understand the
whole refspec syntax perfectly well I still use this feature.
And I'm trying to propagate git at my job and every bit helps.
Besides, it's a bit hard to explain to folks why the widgets are
called "Match Tracking Branch Name" and "Tracking Branch" but the
branch is not actually tracked :-)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-05-09 18:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-07 8:04 creating tracking branches with git gui Sitaram Chamarty
2008-05-08 3:06 ` Sitaram Chamarty
2008-05-08 23:41 ` Shawn O. Pearce
2008-05-09 18:20 ` Sitaram Chamarty
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).