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!
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/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.