Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-docs-dev] Problems pushing to Gerrit

Did you push to "refs/for/master"? You may get an error if you try to
push directly to master. I use the following configuration for the
remote in my .git/config:

[remote "gerrit"]
        url = ssh://spingel@xxxxxxxxxxxxxxx:29418/mylyn/org.eclipse.mylyn.docs
        fetch = +refs/heads/master:refs/remotes/gerrit/master
        push = HEAD:refs/for/master

HTH,

Steffen


On Mon, Dec 17, 2012 at 11:36 PM, Tom Seidel
<tom.seidel@xxxxxxxxxxxxxxxxxx> wrote:
> Hello,
>
> It's been awhile since my last commit, but I'm currently trying to figure
> out how to push a commit to Gerrit. I imported the projects with EGit,
> commited my changes and tried "Team->Remote->Push to Gerrit" but got
> "ssh://tseidel@xxxxxxxxxxxxxxx:29418/mylyn/org.eclipse.mylyn.docs: push not
> permitted", I followed also the instructions at
> http://wiki.eclipse.org/Gerrit#To_create_a_new_change and
> http://wiki.eclipse.org/Mylyn_Contributor_Reference#Reviews but had no
> success.
>
> Any ideas?
>
> Thanks
> Tom
> _______________________________________________
> mylyn-docs-dev mailing list
> mylyn-docs-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/mylyn-docs-dev



-- 
Steffen Pingel
Principal Software Engineer, Eclipse Mylyn
Mylyn Tasks Lead
http://tasktop.com


Back to the top