windows powershell/vscode不提示输入git凭据

windows powershell/vscode不提示输入git凭据,git,powershell,visual-studio-code,Git,Powershell,Visual Studio Code,当我尝试进行git克隆时,Powershell没有提示我输入git凭据,只是给我一个身份验证失败错误。当我使用VSCode的集成终端时也是如此 Test2> git clone https://bitbucket.... Cloning into 'repo'... fatal: Authentication failed for 'https://bitbucket....' 但是,在使用MobaXterm时,这不是一个问题 Test2> git clone https://bi

当我尝试进行git克隆时,Powershell没有提示我输入git凭据,只是给我一个身份验证失败错误。当我使用VSCode的集成终端时也是如此

Test2> git clone https://bitbucket....
Cloning into 'repo'...
fatal: Authentication failed for 'https://bitbucket....'
但是,在使用MobaXterm时,这不是一个问题

Test2> git clone https://bitbucket....
Cloning into 'repo'...
Username for 'https://bitbucket....':

我可以对powershell/vscode做些什么,以便得到提示输入git凭据。谢谢

git config--get credential.helper说了什么?它说的是
manager core
,这意味着它将使用Windows的credential manager进行cred。您可以打开凭据管理器并删除有关远程域的任何缓存凭据,它应该在下一次
git clone
时提示您。或者,取消设置配置选项(
git config--unset credential.helper
),git将开始每次提示您。谢谢,但是运行unset命令仍然不会提示我输入凭据。我查看了Windows凭据管理器,没有看到任何与bitbucket或git相关的条目。当我运行unset时,credential.helper仍然显示
manager core
作为助手。我甚至试着添加
--global
让它工作起来。出于某种原因,在运行
git config--system--unset credential.helper
之前,我必须以管理员身份运行PowerShell。谢谢马蒂亚斯!