http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Git#Work_with_branches

HTH,
Alex

> Finding only the trunk:
> 
> $ git branch
> * master
> 
> after a "git clone git://git.linuxcnc.org/git/emc2.git emc2-dev", I've
> scoured all likely-looking manpages, wikipedia, and installed git-doc,
> without yet elucidating why I see only the trunk, when
> wiki.linuxcnc.org tells me that command will "list all branches in
> repository".
> 
> Is it possible that the clone only fetched the trunk, omitting all
> branches? But /usr/share/doc/git-doc/tutorial.txt says that clone
> creates a new directory "containing a clone of [xxxx]'s repository" i.e.
> not just a nominated or default branch.
> 
> And yet, the directory ~/emc2-dev/.git/branches is empty.
> So "clone" did not in fact clone the repository. Just the trunk.
> i.e. It's rather like a CVS checkout of main.
> 
> It'll take me more hours to figure out what I need to do to actually
> clone the repository, OR otherwise interrogate the original to elicit
> available branches, and clone the branch of interest, which is both what
> I need, and apparently all that actually comes across.
> 
> Any application of the clue-stick would be gratefully received, 'cos the
> learning curve is a bit slippery at the bottom.
> 
> 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