My current setup is:
Windows 11 , Git version 2.41.0.windows.1 and the git credentials are the user name and the personall access token.
Git is configured to use the Win credential store. Here is my git config:
$ git config --list
diff.astextplain.textconv=astextplain
http.sslbackend=schannel
core.autocrlf=true
core.fscache=true
core.symlinks=false
core.editor="C:\\Program Files\\Notepad++\\notepad++.exe" -multiInst -notabbar -nosession -noPlugin
pull.rebase=false
credential.helper=manager
credential.https://dev.azure.com.usehttppath=true
init.defaultbranch=master
user.name=xxxx
user.email=xxxx
credential.helper=
credential.helper=manager
credential.bitbucketauthmodes=basic
credential.https://dev.azure.com.usehttppath=true
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
In the Win credential manager I can see an entry 'git:https://bitbucket.org' with my bitbucket username. After deleting that entry and doing a git pull and entering my credential it reappears in the credential manager. So it seems to be stored correctly. But is not used in subsequent git pull/push operations.
My repo url is in the following format:
remote.origin.url=https://<user name>@bitbucket.org/xxxxx/xxx.git
With or without 'credential.bitbucketauthmodes=basic' asking for credential is the same except the dialog for the credetials looks different.
Any ideas how to get it working?
Best regards