[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GDP git clue?
From: |
Johannes Schindelin |
Subject: |
Re: GDP git clue? |
Date: |
Mon, 24 Sep 2007 00:51:08 +0100 (BST) |
Hi,
On Sun, 23 Sep 2007, Michael Rasmussen wrote:
> Johannes Schindelin wrote:
> > Just for your interest: if you wanted only one branch, you could have done
> > this:
> >
> > $ mkdir lily-doc
> > $ cd lily-doc
> > $ git init
> > $ git remote add -f -t lily-doc origin git://git.sv.gnu.org/lilypond.git
> > $ git checkout -b lily-doc origin/lily-doc
>
> I was interested so set out to doing so and ...
>
> address@hidden:~/lily-doc$ git remote add -f -t lily-doc origin
> git://git.sv.gnu.org/lilypond.git
> error: no such remote ref refs/heads/lily-doc
> fatal: Fetch failure: git://git.sv.gnu.org/lilypond.git
> fetch origin: command returned error: 128
>
> I'm presuming the error here is that I need to find the right name for the
> documentation head.
Yes. And you can do that with
$ git ls-remote git://git.sv.gnu.org/lilypond.git
It appears to me that the correct answer is "refs/heads/lilypond/gdp".
Hth,
Dscho