Hello,
I’ve gone through the steps as best I can to upload unversioned files to my newly created Bitbucket account: https://support.atlassian.com/bitbucket-cloud/docs/add-unversioned-code-to-a-repository/
I’ve set up an SSH key, on both my device and on Bitbucket.
When I reach the last step of the link above, I am prompted for a username and password, which don’t seem to be my Bitbucket account credentials. I can’t seem to find any workspace specific credentials.
I have tried providing my repository URL or just workspace URL. I have tried turning off 2FA on my account.
Any insight into what I may be getting wrong here?
Error prompt on macOS terminal is:
"remote: You may not have access to this repository or it no longer exists in this workspace. If you think this repository exists and you have access, make sure you are authenticated."
Hi @[deleted]
Hm.. Even though you created and added an SSH key, Git will still ask for a username/password if your repository’s remote URL is HTTPS instead of SSH.
So Git is not using your SSH key at all yet.
Maybe you can try and check command (git remote -v) and see what is the output
-> https://bitbucket.org/workspace/repo_test.git (you are on HTTPS)
-> git@bitbucket.org:workspace/repo_test.git (you are on SSH)
Depends on this output you should switch to SSH if on HTTPS. Something like this I guess
git remote set-url origin git@bitbucket.org:workspace/repo_test.git (check if this works.. )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.