lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Git barks


From: Johannes Schindelin
Subject: Re: Git barks
Date: Sun, 11 Nov 2007 16:13:48 +0000 (GMT)

Hi,

On Sun, 11 Nov 2007, Rune Zedeler wrote:

> $ git pull
> remote: Generating pack...
> remote: Done counting 0 objects.
> remote: Total 0 (delta 0), reused 0 (delta 0)
> Unpacking 0 objects...
> error: no such remote ref refs/heads/doc-experimental
> error: no such remote ref refs/heads/fr-doc
> error: no such remote ref refs/heads/hwn
> error: no such remote ref refs/heads/jcn

This probably means that you cloned this repository with a Git version 
prior to 1.5.  This clone recorded the branch names.  And those branches 
went away.

The easiest way would be to edit the section 'remote "origin"' in 
.git/config, by replacing all "fetch = " lines with a single "fetch = 
refs/heads/*:refs/remotes/origin/*".

However, in your particular case I would just "git pull origin <branch>" 
where <branch> is the branch you actually want to merge.

Ciao,
Dscho

P.S.: it could be that you used a really ancient git version, which does 
not have that remote section, but instead a file .git/remotes/origin.  In 
that case, remove/rename that, and run "git remote add origin <url>".




reply via email to

[Prev in Thread] Current Thread [Next in Thread]