On Wed, Jan 06, 2010 at 04:06:25PM +0200, Alex Joni wrote:
> > On Wed, Jan 06, 2010 at 01:20:14PM +0200, Alex Joni wrote:
> >> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Git#Work_with_branches
> >>
> >> HTH,
> >> Alex
> >
> > Sorry, but that's exactly where I was reading that:
> >
> 
> Well, you gotta keep reading after the first line though :)
>     To work on the 2.3 branch instead of 'master' ('master' is the git 
> equivalent of cvs 'TRUNK'):
>      git branch --track v2_3_branch origin/v2_3_branch
>      git checkout v2_3_branch

Yes, I read that several times, but it went nowhere near answering the
question. ;-)

I didn't ever doubt that v2_3_branch is one of the branches in the
repository, but that text provides no clue as to why these lines in the
wiki do not do what is claimed:

>>>
To list all branches in repository:

 git branch
<<<

Please note the word "all".

If it had instead said: >>>

To list just the branches in your local repository:

   git branch

To list all the branches in the remote repository:

   git branch -r
<<<
   then finding all available branches would have been elucidated.

OK, last night I only tried a "-a" on git-show-branch, and drowned in
unwanted output. If I learn one thing per day, it's not wasted.

> What you want for tlo_all_axes is:
>  git branch --track tlo_all_axes origin/tlo_all_axes
>  git checkout tlo_all_axes

Many thanks! That is kind.

>st all branches in repository:
>
> git branch

Yes, I'd realised that "git branch" lists all branches in the
local repository. BUT, the subject line of this thread is "Finding
Michael G's branch in the repository" The question has always been aimed
at discovering what branches are available for checkout.

Thanks to Jeff, I now know that there are 43 to choose from.
Thanks to you, I know that Michael G's tool table work is on the
tlo_all_axes branch. The file I'm looking for looks like initool.cc.
I'll poke around, and see what I can learn. (And maybe learn a little
more about git while I'm at it. :)

Many thanks for your help.

Erik

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to