Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket account admin credentials not working, when trying to clone repo via windows git bash

WhatIsTheQuestion
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 30, 2023

I have a bitbucket account and created a repo to test how i can integrate bitbucket into my local dev setup.

I installed git on windows. Nothing else. And now I want to do a git clone from the git bash.

I use the command provided in the bitbucket repo with the https url. And I use the same password I use when logging into the bitbucket account. But ...

$ git clone https://WhatIsTheQuestion@bitbucket.org/WhatIsTheQuestion/bitbucket_test_repo.git
Cloning into 'bitbucket_test_repo'...
remote: Invalid credentials

I can also use the repo link only. Then it asks me for username and password. I tried both combinations (username+password and email+password). But ...

$ git clone https://bitbucket.org/WhatIsTheQuestion/bitbucket_test_repo.git
Cloning into 'bitbucket_test_repo'...
remote: Invalid credentials
 

I had a look at the permissions of the repo and project. There are no special permissions. The admin user (the only user) has unlimited access anyways and therefor can not be added to the permissions lists.

 

What am I missing? Thanks!

1 answer

1 accepted

2 votes
Answer accepted
WhatIsTheQuestion
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 30, 2023

Ok, I found out myself. I needed to set an app password first to make a call to bitbucket via git clone ... . Now it works. Yay!

 

App passwords in the atlassian documentation:

https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events