[Interest] pushing a WIP

Thiago Macieira thiago.macieira at intel.com
Fri Mar 24 01:01:23 CET 2017


On quarta-feira, 22 de março de 2017 10:17:03 PDT Patrick Stinson wrote:
> I am not new to git but am new to growing out of using git as if it were
> svn. I have a local work in progress branch (apple--pencil) based on dev,
> and want to know how to push it to a feature branch on dev. Should I just
> do

Hello Patrick

This discussion belongs in the development mailing list. Please drop interest 
from Cc when you reply. (I'd usually Bcc, but then mailman will not allow the 
post to happen)

> git push origin dev

Actually:
	git push origin dev:refs/for/dev

Assuming that:
 a) origin is the Gerrit remote
 b) dev is the name of your local branch

refs/for/dev is literal like that, don't change it.

Note we don't usually want people to clone from Gerrit and pull from it. You 
should clone from code.qt.io and then have a separate remote (usually called 
"gerrit") for pushing the changes.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list