[Top][All Lists]

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

Re: Uploading a patch to Rietveld

From: Graham Percival
Subject: Re: Uploading a patch to Rietveld
Date: Mon, 2 May 2011 14:08:29 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, May 02, 2011 at 01:41:50PM +0100, Phil Holmes wrote:
> ----- Original Message ----- From: "Graham Percival"
> >- have you rebooted?  IIRC the ubuntu startup scripts
> No.  I have now, and git cl now works :-)  Except I get a failure like this:
> address@hidden:~/lilypond-git$ git cl upload origin/master
> make/website.make                             |    2 +
> scripts/build/       |   22 +++++++++++++--
> scripts/build/website-known-missing-files.txt |   37
> +++++++++++++++++++++++++
> 3 files changed, 58 insertions(+), 3 deletions(-)
> fatal: ref HEAD is not a symbolic ref
> Command "git symbolic-ref HEAD" failed.

Yikes, that's some fundamental git thing.  Hmm.  Begin by doing
  git format-patch origin
and move the file out of your git dir to be safe.  Then try some
combination of
  git status
  git checkout master
  git status
  git pull -r
  git status
(if panic, and only after double-checking that your patch is safe)
  git reset --hard origin

oh wait, instead of that last step, you should use the red button
in lily-git.tcl

- Graham

reply via email to

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