[vtk-developers] git help: 'git gerrit-push' fails with 'fatal: ref HEAD is not a symbolic ref'

Sean McBride sean at rogue-research.com
Fri Aug 19 11:10:11 EDT 2011


Hi all,

I need git help. :(

Weeks ago, I submitted this for review:
<http://review.source.kitware.com/#change,1717>

A reviewer wanted me to make additional changes, and I didn't know how to do that with the git workflow, so it sat on the back burner until this week.  After lots of reading, I thought I had everything figured out.  I rebased, made more changes, committed, did 'git prepush', and all seemed well.

Then I did:

sean$ git gerrit-push
fatal: ref HEAD is not a symbolic ref
fatal: remote part of refspec is not a valid name in HEAD:refs/for/master/

Now I'm stuck.... :(

(I may have made mistakes in the process. For one, I was following ITK wiki instructions, as, last I looked, the VTK wiki did not discuss gerrit, though checking now, I see it does, and I see the instructions are somewhat different.)

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtk-developers mailing list