Am 12.03.2012 um 19:56 schrieb Vincent van Ravesteijn: > Op 11-3-2012 22:43, Richard Heck schreef: >> On 03/11/2012 05:37 PM, Richard Heck wrote: >>> On 03/11/2012 12:59 PM, Lars Gullik Bjønnes wrote: >>>> lar...@gullik.org (Lars Gullik Bjønnes) writes: >>>> >>>> | | 5. Enable the new lyx-devel git repo at git.lyx.org. >>>> >>>> The new repo has been made available to developers, and the git >>>> installation has opend up for developers to create their own repos and >>>> forks. >>>> >>>> Developers that have registered their public keys can clone the repo by: >>>> >>>> git clone g...@git.lyx.org:lyx >>>> >>> Just so I understand where we are: This is just devel, or are the branches >>> also supposed to be in here? If so, where are they? >>> >> Ahh, I see it now: git co 2.0.x will do what I wanted. >> > > If you want a tree for both 2.0.x and 2.1.0svn, you can do the following: > > Assume you have a git clone in <home>/lyx, you can clone this with > > git clone -s -b 2.0.x <home>/lyx <home>/lyx20x > > This will clone your repo, but it will reuse the objects. This means that the > second repo is much smaller than the first one.
% git clone -s -b 2.0.x lyx lyx20x Cloning into 'lyx20x'... done. warning: Remote branch 2.0.x not found in upstream origin, using HEAD instead % What does this mean? I suppose it is not possible to clone a branch after doing the mentioned "git clone g...@git.lyx.org:lyx" command. I guess I have to create a "full" clone of the repository first to have that possibility. Stephan