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

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Aug 19 11:30:44 EDT 2011


Do "git branch" and verify you are on a named branch.

Utkarsh

On Fri, Aug 19, 2011 at 11:10 AM, Sean McBride <sean at rogue-research.com> wrote:
> 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
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>



More information about the vtk-developers mailing list