[Development] Pushing to gerrit.

Igor Mironchik igor.mironchik at gmail.com
Mon Jan 1 12:28:20 CET 2018


Hi,


On 01.01.2018 14:27, aha_1980 at gmx.de wrote:
>
> Am Montag 1. Januar 2018 schrieb Igor Mironchik:
>> Hi,
>>
>>
>> On 01.01.2018 14:12, aha_1980 at gmx.de wrote:
>>> Hi Igor,
>>>
>>> Am Montag 1. Januar 2018 schrieb Igor Mironchik:
>>>> Hello,
>>>>
>>>> I'm new for contributing to Qt. I want to push to gerrit a comment.
>>>>
>>>> git push gerrit HEAD:refs/for/5.10
>>>> Permission denied (publickey).
>>>> fatal: Could not read from remote repository.
>>>>
>>>> Please make sure you have the correct access rights
>>>> and the repository exists.
>>>>
>>>> Am I missed something during configuring? Or I just don't have rights to
>>>> push?
>>> Most likely you just don't have added your SSH public key to Gerrit.
>>>
>>> You can verify by:
>>>
>>> ssh -p 29418 your-username at codereview.qt-project.org
>>    ssh -p 29418 igor.mironchik at codereview.qt-project.org
>> Enter passphrase for key '/home/igor/.ssh/id_rsa':
>>
>>     ****    Welcome to Gerrit Code Review    ****
>>
>>     Hi Igor Mironchik, you have successfully connected over SSH.
>>
>>     Unfortunately, interactive shells are disabled.
>>     To clone a hosted Git repository, use:
>>
>>     git clone
>> ssh://igor.mironchik@codereview.qt-project.org:29418/REPOSITORY_NAME.git
>>
>> Connection to codereview.qt-project.org closed.
> Looks good. Now verify your git remote (is the port correct there?)
>
> Also make sure git uses the right ssh and therefore finds the public key.
>
> The problem *is* on your computer.
>
> Are you on Windows?

Think that I found a mistake: possibly this is because of wrong Gerrit 
user name.

I'm on Linux.

>   
>>>    
>>>> Maybe something wrong with refs?
>>> I don't think so.
>>>
>>>> I just copied push command from
>>>>
>>>> http://wiki.qt.io/Qt_Contribution_Guidelines
>>>>
>>>> Thank you.
>>> Happy New Year!
>>> Andre
>>>    
>>>> _______________________________________________
>>>> Development mailing list
>>>> Development at qt-project.org
>>>> http://lists.qt-project.org/mailman/listinfo/development
>>>>
>>




More information about the Development mailing list