FYI

i have append i picture from what i can select in the gui. If i select review 
as remote the error
message looks like this:

# Pushing to ssh://<hidden>@openocd.zylin.com:29418/openocd.git
# remote: Resolving deltas:   0% (0/2)
# To ssh://<hidden>@openocd.zylin.com:29418/openocd.git
#  ! [remote rejected] master -> master (prohibited by Gerrit)
# error: failed to push some refs to 
'ssh://<hidden>@openocd.zylin.com:29418/openocd.git'

The git gui try to push it into the master branch directly.

The right way to do it is to push it over the menu Remote->Push to->review.


Regards,

Mathias


On 30.11.2011 01:46, Peter Stuge wrote:
> Mathias K. wrote:
>> If i try to push i can choose the review as target but it will
>> always pushed into the master and i got a error message.
>> The console command "git push review" works. Any hints?
> 
> Can you choose which local branch to push, and which branch on the
> remote that it should be pushed into?
> 
> The key is to push into: refs/for/master
> 
> One canonical command line for this would e.g. be:
> 
> git push review HEAD:refs/for/master
> 
> 
> //Peter

<<attachment: git_gui_push_review.png>>

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to