2010/1/13 Ketan Padegaonkar <[email protected]>

> On 1/13/10 1:11 AM, Matthias Sohn wrote:
>
>  Please go back to Gerrit registration following Shawn's hint and post
>> your patch their (that's
>> the easiest way to ensure proper IP log).
>>
>
> Here's the error I get when I push. Is this because I'm on a different
> branch where I pulled in patch 3 from change 137 and applied my patch ?
>
> storm:~/projects/oss/egit/egit git (swtbot-tests)$
> git push ssh://[email protected]/egit.gitHEAD:refs/for/master
> Counting objects: 37, done.
> Delta compression using up to 2 threads.
> Compressing objects: 100% (18/18), done.
> Writing objects: 100% (24/24), 7.77 KiB, done.
> Total 24 (delta 6), reused 0 (delta 0)
> To ssh://[email protected]/egit.git
>  ! [remote rejected] HEAD -> refs/for/master (you are not committer
> [email protected])
> error: failed to push some refs to 'ssh://
> [email protected]/egit.git'
>

You missed the correct port number, Gerrit doesn't listen on the git default
port 9418 but on
29418, the following call should do the trick
git push 
ssh://[email protected]:29418/egit.git<http://[email protected]/egit.git>HEAD:refs/for/master

The complete setup is described here :
http://wiki.eclipse.org/EGit/Contributor_Guide#Contributing_Patches

Don't miss to accept the server's host key and to upload your public key to
Gerrit at http://egit.eclipse.org/r/#settings,ssh-keys .

--
Matthias
_______________________________________________
swtbot-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/swtbot-dev

Reply via email to