Hi,
I have created a new repo on Bitbucket and created two branches, i.e. main and develop using the Web UI.
I initialised my local repo, added and committed the files I wanted to upload to the cloud repo and added remote origin, then tried to push the local changes to the remote repo. But I got the permission denied error and couldn't proceed.
git push -u origin develop
The authenticity of host 'bitbucket.org (185.166.141.9)' can't be established.
ED25519 key fingerprint is SHA256:ybgmFkzwOSotHTHLJgHO0QN8L0xErw6vd0VhFA9m3SM.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'bitbucket.org' (ED25519) to the list of known hosts.
git@bitbucket.org: Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.