Hey guys,
I have been searching everywhere for this solution but basically. I clicked on Push and was met with this error message. I am pretty sure I put my password in the wrong way the first time. I am very new to this. The repo I am pushing to is a new repo on my Bitbucket. Any help is appreciated!
git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream origin refs/heads/develop:refs/heads/develop refs/heads/search-users:refs/heads/search-users refs/heads/user-authentication:refs/heads/user-authentication
Pushing to git@bitbucket.org:myname/mygitrepo.git
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.
Pushing to git@bitbucket.org:myname/mygitrepo.git
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.
Pushing to git@bitbucket.org:myname/mygitrepo.git
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.
Pushing to git@bitbucket.org:myname/mygitrepo.git
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.
Completed with errors, see above
Hi Kush, welcome to the Atlassian Community!
From the looks of the output you've got, you're trying to use Sourcetree to commit to Bitbucket Cloud. There's a few ways to correct this issue:
Finally if you are still seeing issues trying to connect to Bitbucket and the account is set to use Basic instead of OAuth access, you'll need to use an API token rather than a password to connect to your account (or change the account to use OAuth). We recently deprecated the use of passwords with basic authentication.
Cheers,
Daniel
Hey Daniel,
Thanks for the response. I am just now seeing it but it works now. I basically pushed and pulled my code until the error message went away. Percussive maintenance if you will. Sorry I don't have a definitive solution to this particular problem but if I do come across it -- I will make sure to document it for future use.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.