I see. I didn't have the apache git repo. That worked. Thanks.

Robert Dale

On Tue, Nov 15, 2016 at 6:52 AM, Stephen Mallette <[email protected]>
wrote:

> I checked and you should have commit access. Not sure how your remotes are
> setup, but mine look like this:
>
> $ git remote -v
> mirror https://github.com/apache/tinkerpop.git (fetch)
> mirror https://github.com/apache/tinkerpop.git (push)
> origin  https://git-wip-us.apache.org/repos/asf/tinkerpop.git/ (fetch)
> origin  https://git-wip-us.apache.org/repos/asf/tinkerpop.git/ (push)
>
> You can't push to the "mirror" so if you're trying to do that, then that's
> why it is failing. You need to setup "origin" against the Apache Git and
> not GitHub. The "mirror" is useful for grabbing pull requests from
> third-parties though, so it's worth keeping that around:
>
> git fetch pull/123/head:pr-123
> git checkout pr-123
>
> Note that if you have changes for tp31, then your order of operations
> should be to not push to tp31 first. You should get tp31 -> tp32 -> master
> branches all settled locally (i.e. merge tp31 to tp32 then tp32 to master
> locally) then push in reverse order starting with master then tp32 and then
> tp31. I think that will reduce the chance of merge issues if someone
> fetches in the middle of your pushing to those three branches.
>
> Hopefully, checking your remotes helps solve your push problem. Please let
> me know if it's all good.
>
>
>
> On Mon, Nov 14, 2016 at 9:18 PM, Robert Dale <[email protected]> wrote:
>
> > I fixed a small typo and wanted to commit it.  Am I doing this right?
> >
> > [rdale@mocl99mqm12 tinkerpop]$ git status
> > On branch tp31
> > Your branch is ahead of 'upstream/tp31' by 1 commit.
> >   (use "git push" to publish your local commits)
> > nothing to commit, working tree clean
> > [rdale@mocl99mqm12 tinkerpop]$ git push
> > ERROR: Permission to apache/tinkerpop.git denied to robertdale.
> > fatal: Could not read from remote repository.
> >
> > Please make sure you have the correct access rights
> > and the repository exists.
> >
> >
> >
> > Robert Dale
> >
>

Reply via email to