Reputation: 2488
i am trying to push code to bitbucket account from eclipse, where i am getting error *"push not permitted"*
, i am able to clone and get files from the bitbucket repository.
i am facing problem while pushing to upstream command in eclipse git, am getting below error
[email protected]:codedevelopers/coder.git push not permitted
i am not admin, but i have read and write access granted by my admin, i have tried both ssh and https push, i am getting same error. i am stuck with this issue. i have another user who is admin ,can able to push his code to bitbucket.
Thanks for your replies
Upvotes: 3
Views: 7067
Reputation: 1323223
https should work if you are using your bitbucket username and email, provided the admin did grant you access using that exact email
So try:
git remote set-url origin https://[email protected]/codedevelopers/coder
(replace myusername
by your BitBucket account username)
See "Grant users and groups access"
Double-check with that admin which email he/she used to grant you write access to this repo.
A mentioned by jszakmeister in the comments, look out for a typo in the url you end up using.
For instance, there is a user bitbucket.org/codedevelopr (instead of 'codedevelopers
').
Upvotes: 6