I am new with BitBucket and SourceTree and I try to push my Rep. in SourceTree for windows with Git to BitBucket but it gives me this error:
conq: repository access denied. access via a deployment key is read-only.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I set a deployment key in BitBucket by my public key and the ssh key agent is running with my private key. I have owner access right. I think I missed a configuration that results in this error, any suggestion?
At the command line, make sure you've changed into the repository directory. Enter git push at the command line to push your commits from your local repository to Bitbucket. To be specific about exactly where you're pushing, enter git push <remote_server> <branch_name>.
If you already have a repository, you can view it in SourceTree. Click New, then Add Existing Local Repository. Select the repository your wish to add, then click Open. Your added repository appears under Local.
Make sure you're not adding the SSH key under "Deployment Key" in your Bitbucket repository's settings. What you need to do is add the SSH key under "Manage Account" (Click your Avatar)> "SSH Keys". It's explained here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With