First time using bitbucket, trying to make a first push of my local project to bitbucket.
I managed to create a repository with no issues. After I created a new SSH Key, which I loaded to both Bitbucket and also Pagent (that is running in my windows background).
Still when I try to push my commit to Bitbucket I get the following:
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream origin master:master
Pushing to [email protected]/repository.git
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.
Completed with errors, see above.
On Bitbucket -> Project -> Settings -> Access Keys:
It says here, copying and pasting as it is:
Use access keys to gain read-only access to this repository. Learn more about using SSH keys.
Does this mean I can not use SSH Keys to make a push to the repository?
PS: I tried all the solutions that were available to sort out this issue, still I get the same error (regenerated the keys, tried both SourceTree or GitShell to make the push, still same error coming up); any other ideas are welcomed
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…