Op 14-3-2012 14:59, Jean-Marc Lasgouttes schreef:
Le 12/03/2012 19:56, Vincent van Ravesteijn a écrit :
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.
When I try that, git tells me:
fantomas: git clone -s -b 2.0.x lyx 2.0.x
Initialized empty Git repository in /home/local/lasgoutt/lyx/2.0.x/.git/
warning: Remote branch 2.0.x not found in upstream origin, using HEAD
instead
As I also answered to Stephan, you need to checkout the 2.0.x first in
the lyx clone, so that this branch is created and set up to track
git.lyx.org.
How do I know what branches exist in my lyx clone? I read a bit the
"git branch" help, but was not really successful.
'git branch' shows you the local branches. 'git branch -r' shows you the
branches that exist in the remote.
Vincent