1

I am new to using gitHub and I am using netBeans on macosx.

I am having trouble pushing the project. I get the following error:

https://[email protected]/xxxfolder/xxxproject.git:git-receive-pack not permitted

I tried using a number of things like trying to log as ssh. But it didn't work.

I changed the rights to the local rep. to 777 just in case with option -R and still didn't work.

Any ideas?

4
  • Have you tried using ssh:// instead? Commented Dec 20, 2012 at 13:47
  • Yeah I did try with ssh:// though I'm not sure I did it correctly. I just changed https:// to ssh:// then put my login and pass from gitHub and tried to push. That's how it is right? Commented Dec 20, 2012 at 14:43
  • 1
    Should be. If you get a session down error with ssh refer to this question: stackoverflow.com/questions/9003840/… Commented Dec 20, 2012 at 15:09
  • 1
    @JaredMcAteer Thanks Jared for your help I solved it. Turns out the user wasn't added on the repository collaborators on GitHub. Sorry about that I'm quite new to using gitHub specially using it with code editors etc... Thanks again! Btw. the https adress is NOT the same adress from ssh. At least for my repo. Check on gitHub when you try ssh! Commented Dec 20, 2012 at 15:33

1 Answer 1

2

I solved it.

In case someone else has this problem it suffices to verify if the user is added as a collaborator on the repository settings of GitHub.

If that doesn't work try doing it on ssh and remember to check the address mentioned in gitHub as it is different than that of the Https protocol.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.