简体   繁体   English

“凭据管理器”不是 git 命令

[英]'credential-manager' is not a git command

Am on Windows 10 64-bit running git version 2.33.1.windows.1 against Azure repos.我在 Windows 10 64 位运行 git 版本 2.33.1.windows.1 针对 Azure 回购。 Since my last update I get the following error when cloning a rep using TortoiseGit v2.13.0.1 (latest version).自从我上次更新以来,我在使用 TortoiseGit v2.13.0.1(最新版本)克隆代表时收到以下错误。

git.exe clone --progress -v "https://FenergoProduct@dev.azure.com/FenergoProduct/FlareDocumentation/_git/FlareFenergoRegulationMargin" "C:\Flare\FlareFenergoRegulationMargin"
Cloning into 'C:\Flare\FlareFenergoRegulationMargin'...
git: 'credential-manager' is not a git command. See 'git --help'.

The most similar command is
credential-manager-core

Does anyone have a simply explanation of how to get rid of this?有没有人对如何摆脱这个有简单的解释?

P. P.

This command "git config --global credential.helper manager-core" works for me.这个命令“git config --global credential.helper manager-core”对我有用。 On my company's computer, I got the errors every time I changed my password.在我公司的计算机上,每次更改密码时都会出现错误。 Before I was able to fix the errors through the Credential Manager, but not anymore.在我能够通过凭据管理器修复错误之前,但现在不行了。

I started getting the same error messages for every service after my last upgrade.上次升级后,我开始为每项服务收到相同的错误消息。 I made them go away by creating an alias for credential-manager.我通过为 credential-manager 创建别名使它们远离 go。

git config --global alias.credential-manager "credential-manager-core"

Other than the error messages, the credential-manager seems to have been working correctly both before and after creating the alias.除了错误消息之外,credential-manager 似乎在创建别名之前和之后都正常工作。

I also faced this error.我也遇到了这个错误。 how ever I tried more methods and finally below command worked for me.我怎么尝试了更多的方法,最后在命令下对我有用。 when we replace all config details it will fix.当我们替换所有配置详细信息时,它将修复。 after run below command and then after you can again try git commands like clone, pull, push etc.. then automatically prompt login screen.运行以下命令后,您可以再次尝试 git 命令,如克隆、拉取、推送等。然后自动提示登录屏幕。 after login successfully you can work without any issue.登录成功后就可以正常工作了。

git config --global credential.helper manager-core --replace-all

I'm also on Windows 10, and have started getting我也在 Windows 10,并且已经开始

git: 'credential-manager' is not a git command

whenever i try anything with a new repo either with github or gitlab. The strange thing is that i have an existing gitlab repo that is working fine.每当我尝试使用 github 或 gitlab 的新回购协议时。奇怪的是我有一个现有的 gitlab 回购协议工作正常。 It doesn't make any sense to me that on the same machine git appears to be broken for one repo and not the other..对我来说没有任何意义,在同一台机器上 git 似乎被一个 repo 而不是另一个 ..

I've tried all the suggestions on this thread, but nothing seems to work.我已经尝试了关于这个线程的所有建议,但似乎没有任何效果。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 git:'credential-manager' 不是 git 命令 - git: 'credential-manager' is not a git command TortoiseGit错误:git凭证管理器的waitpid失败:没有子进程 - TortoiseGit error: waitpid for git credential-manager get failed: No child processes 使用 git 凭据填充命令时,从 Windows 凭据管理器中删除凭据仍然显示凭据 - Deleting the credentials from Windows Credential Manager still displayed credentials when using git credential fill command Git 用于 Windows - 凭证管理器问题 - Git for Windows - issue with credential manager Microsoft Git-Credential-Manager - Microsoft Git-Credential-Manager Control Panel的Credential Manager和git的credential helpers Credential Manager和Credential manager Core一样吗 - Is Control Panel's Credential Manager same as git's credential helpers Credential Manager and Credential manager Core 具有凭据管理器身份验证的Git失败 - Git with Credential Manager Authentication failed 在 Azure DevOps 管道中使用 GitPython 会导致 'git: 'credential-manager-core' is not a git command - Using GitPython in Azure DevOps pipelines causes 'git: 'credential-manager-core' is not a git command 如何确定Windows版Git Credential Manager的版本? - How to determine the version of Git Credential Manager for Windows? PyCharm 使用来自凭据管理器的 Git 帐户 - PyCharm uses Git account from Credential Manager
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM