After creating and committing the develop1 branch from the main branch according to the following page, I could not push to BitBucket.
https://support.atlassian.com/bitbucket-cloud/docs/create-and-push-a-branch/
I could fetch and pull from the repository. Permissions to the repository are "write".
Error Message:
-----------------------------
$ git push origin develop1
Enter passphrase for key '/c/Users/xxxxx/.ssh/xxxxxxx':
Unauthorized
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
------------------------------
Can you give me some advice?
Thank you.
G'day, @S_Yokoi
Welcome to the community!
May I know where did you add the SSH key? The reason I ask is because if you add the SSH key under repository settings, it will only provide you with read permission.
So, if you want to write into the repository, you should add the SSH key under your personal Bitbucket settings at:
https://bitbucket.org/account/settings/ssh-keys/
Let me know how it goes after changing the SSH key location.
Regards,
Syahrul
Dear Syahrul.
I was able to solve the problem exactly the way you suggested.
I registered and was able to Push successfully.
I was confused because the documentation did not say ”Register the SSH key on the personal settings page".
Thank you very much.
Regards,
S.yokoi
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.