[英]Is Control Panel's Credential Manager same as git's credential helpers Credential Manager and Credential manager Core
I'm running the latest Git For Windows 2.29.2 and for me credential.helper
is set to manager-core
by default.我正在运行最新的Git For Windows 2.29.2 ,对我而言, credential.helper
默认设置为manager-core
。 I did confirm that running git config --system list
.我确实确认运行git config --system list
。
My Git installation shows it has two credential helpers我的 Git 安装显示它有两个凭证助手
Running version
command for both in git terminal confirm their presence:在 git 终端中运行version
命令确认它们的存在:
$ git credential-manager version
Git Credential Manager for Windows version 1.20.0
$ git credential-manager-core --version
Git Credential Manager version 2.0.280-beta+1f4c6db90f (Windows, .NET Framework 4.0.30319.42000)
It appears now that there are basically three ways that git might use to manage credentials:现在看来,git 基本上可以使用三种方式来管理凭据:
(a). (一种)。 Windows Credential Manager (the one inside Control Panel), Windows 凭据管理器(控制面板内的那个),
(b). (二). Git Credential Manager for Windows, and Git Windows 的凭证管理器,以及
(c). (C)。 Git Cre.netial Manager Core. Git Cre.netial 管理核心。
If my understanding is correct then as per this SO post the credential.helper=manager
is same as the Control Panel's Windows Crendential Manager .如果我的理解是正确的,那么根据这个 SO 帖子, credential.helper=manager
与控制面板的Windows Crendential Manager相同。
Does that mean the credential.helper=manager-core
is also same as the Control Panel's credential manager.这是否意味着credential.helper=manager-core
也与控制面板的凭据管理器相同。
I am a bit confused here as to which is what.我在这里对哪个是什么有点困惑。 Are all three same or they are different from each other and store the credentials separately.这三个是相同的还是彼此不同并分别存储凭据。
A credential helper is an executable responsible for storing and retrieving credentials for git.凭证助手是一个可执行文件,负责存储和检索 git 的凭证。
The windows credential manager is a place for storing credentials in Windows. windows 凭证管理器是在 Windows 中存储凭证的地方。
Both manager
and manager-core
credential helpers use the windows credentials manager to store credentials (they are basically the same helper, but manager
uses dotnet framework and manager-core
uses dotnet core). manager
和manager-core
凭证助手都使用 windows 凭证管理器来存储凭证(它们基本上是相同的助手,但manager
使用 dotnet framework 而manager-core
使用 dotnet core)。
https://github.com/microsoft/Git-Credential-Manager-Core https://github.com/microsoft/Git-Credential-Manager-Core
https://github.com/microsoft/Git-Credential-Manager-for-Windows https://github.com/microsoft/Git-Credential-Manager-for-Windows
https://git-scm.com/docs/gitcredentials https://git-scm.com/docs/gitcredentials
git credential helper is just a utility that comes with the git standalone installation. git 凭据助手只是 git 独立安装附带的实用程序。
Windows credential manager is where your credentials (user name & passcode) for git repos (accounts) and everything else like Whatsapp, Microsoft account and other accounts are managed and stored. Windows 凭据管理器是管理和存储 git 回购(帐户)以及 Whatsapp、Microsoft 帐户和其他帐户等所有其他内容的凭据(用户名和密码)的地方。
when you access a remote (remote git repository on server using HTTPS links) git credential helper runs automatically, takes your credentials and create a new entry for them on windows credential manager so you do not have to enter them every time you access your remote account repos.当您访问远程(使用 HTTPS 链接的服务器上的远程 git 存储库)时,git 凭证助手会自动运行,获取您的凭证并在 windows 凭证管理器上为它们创建一个新条目,这样您就不必在每次访问远程帐户时都输入它们回购。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.