On Wed, May 23, 2012 at 8:00 AM, Jeroen De Dauw <jeroendedauw(a)gmail.com> wrote:
Hey,
Is it possible to push to a branch other then the default one on gerrit
using git review?
This is needed when you want to have more then one branch on which you have
reviewed code, or if you want different levels of review. For example if
you want a novice committer play around with an extension a bit and push
new functionality that gets reviewed but is not ready to go onto master
until it really has stabilized and finalized.
Yep, totally possible. Just do:
`git push <remote> HEAD:refs/for/<branchname>`
If you want to change the default branch (say for a long-term
development branch), you can also change 'defaultbranch' in
your .gitreview file.
-Chad