Hello
I've been trying to clone a new private repo I set up using the normal format below
git clone https://{username}@bitbucket.org/{username}/my_repo.git
I keep getting the same error:
remote: Forbidden
fatal: unable to access 'https://{username}@bitbucket.org/{username}/my_repo.git/': The requested URL returned error: 403
I set up a new account on bitbucket with a different email address for this repo. Would this cause any issues with GitBash when cloning the repo? Would I have to update my email in my gitbash settings to match the new one?
I thought that you'd be prompted for a username or password when doing this too, but I'm never prompted.
New to using bitbucket, so any help is much appreciated
Hi Mark, welcome to the Comunity :)
I don't have enough information as to know what are the specifics about that repo, but you might have come across this 403 while accessing https://{username}@bitbucket.org/{username}/{repo slug}.git/info/refs.
Let us know if that's your case!
Kind regards,
Ana
Hi Ana,
It's not quite the same case I was having here but I've since resolved the issue by using ssh to clone the repo instead.
Kind regards
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Switching to SSH would have been my answer! Glad to see you're a step ahead! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For me isn't working using https neither ssh
Using ssh:
"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."
Using https
"invalid credentials"
But I'm using the same credentials, and for been sure, I've reseted my password twice and still not working
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.