Git 凭据助手
此页面列出了可用的 凭据助手。
包含在 Git 中
- git-credential-store:以纯文本形式保存凭据。
- git-credential-cache:将凭据临时保存在进程内存中。(请注意,由于凭据在缓存过期或系统重启时丢失,因此存储长期存在的个人访问令牌很不方便。)
平台特定的存储
- git-credential-osxkeychain:存储在 macOS 钥匙串 中。包含在 macOS Git 安装中。
- git-credential-libsecret:存储在 Linux 密钥服务中,例如 GNOME Keyring 或 KDE Wallet。已打包在许多 Linux 发行版中。
- git-credential-wincred:存储在 Windows 凭据管理器 中。包含在 Git for Windows 中。
OAuth
以下跨平台助手支持使用 OAuth 进行身份验证。 初始身份验证会打开主机的浏览器窗口。 后续身份验证在后台进行。
- Git Credential Manager:包含在 Git for Windows 中。 支持多个凭据存储。
- git-credential-oauth:包含在许多 Linux 发行版中。
特定存储
- git-credential-gopass:存储在 gopass 密码管理器中。
- git-credential-lastpass:存储在 LastPass 密码管理器中。
- git-credential-1password:存储在 1Password 密码管理器中。
- git-credential-keepassxc:存储在 KeePassXC 密码管理器中。
特定主机
- git-credential-netlify:验证到 Netlify 的身份。
- git-credential-azure:验证到 Azure Repos 的身份。