зеркало из
1
0
Форкнуть 0
Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.
Перейти к файлу
Matthew John Cheetham 415adfe401
Update SECURITY.md (#1697)
Updating the security policy for this open source project. The currently
security policy does not accurately represent its eligibility for
rewards under the GitHub Bug Bounty Program.
2024-08-28 09:02:11 +01:00
.code-coverage Basic support for generating code coverage reports 2021-11-22 09:48:56 +00:00
.github build(deps): bump actions/setup-dotnet from 4.0.0 to 4.0.1 (#1658) 2024-07-24 08:08:24 +02:00
.vscode dotnet: update from .NET 7 to .NET 8 2024-04-15 14:05:20 -07:00
assets assets: drop "Core" from the social banner image 2021-11-18 17:23:15 +00:00
build dotnet: update from .NET 7 to .NET 8 2024-04-15 14:05:20 -07:00
docs Add support for sending X5C when using a service principal with certificate for authentication (#1666) 2024-07-19 12:20:09 -07:00
src Apply code review feedback to use more appropriate helper functions in parsing a boolean config option 2024-07-18 17:50:09 -07:00
.gitignore
.lycheeignore Ignore GitLab FAQ link 2022-07-24 14:12:30 +01:00
.markdownlint.jsonc Unify line length across docs 2022-09-09 23:21:38 +01:00
CODE_OF_CONDUCT.md Unify line length across docs 2022-09-09 23:21:38 +01:00
CONTRIBUTING.md org-rename: update references to GitCredentialManager 2023-03-07 10:19:11 -07:00
Directory.Build.props dependencies: update json.net to system.text.json 2023-06-02 11:01:26 -06:00
Directory.Build.targets version: replace nerdbank with version file 2023-04-28 23:24:47 -06:00
Git-Credential-Manager.sln wpf: drop shared WPF library 2023-09-11 14:48:42 -07:00
Git-Credential-Manager.sln.DotSettings
LICENSE
NOTICE
README.md docs: update dev.azure.com product page URLs 2023-09-18 14:53:51 -07:00
SECURITY.md Update SECURITY.md 2024-08-27 13:26:06 -07:00
VERSION Revert version change 2024-07-18 16:51:16 -07:00
nuget.config

README.md

Git Credential Manager

Build Status


Git Credential Manager (GCM) is a secure Git credential helper built on .NET that runs on Windows, macOS, and Linux. It aims to provide a consistent and secure authentication experience, including multi-factor auth, to every major source control hosting service and platform.

GCM supports (in alphabetical order) Azure DevOps, Azure DevOps Server (formerly Team Foundation Server), Bitbucket, GitHub, and GitLab. Compare to Git's built-in credential helpers (Windows: wincred, macOS: osxkeychain, Linux: gnome-keyring/libsecret), which provide single-factor authentication support for username/password only.

GCM replaces both the .NET Framework-based Git Credential Manager for Windows and the Java-based Git Credential Manager for Mac and Linux.

Install

See the installation instructions for the current version of GCM for install options for your operating system.

Current status

Git Credential Manager is currently available for Windows, macOS, and Linux*. GCM only works with HTTP(S) remotes; you can still use Git with SSH:

Feature Windows macOS Linux*
Installer/uninstaller
Secure platform credential storage (see more)
Multi-factor authentication support for Azure DevOps
Two-factor authentication support for GitHub
Two-factor authentication support for Bitbucket
Two-factor authentication support for GitLab
Windows Integrated Authentication (NTLM/Kerberos) support N/A N/A
Basic HTTP authentication support
Proxy support
amd64 support
x86 support N/A
arm64 support best effort best effort, no packages
armhf support N/A N/A best effort, no packages

(*) GCM guarantees support only for the Linux distributions that are officially supported by dotnet.

Supported Git versions

Git Credential Manager tries to be compatible with the broadest set of Git versions (within reason). However there are some know problematic releases of Git that are not compatible.

  • Git 1.x

    The initial major version of Git is not supported or tested with GCM.

  • Git 2.26.2

    This version of Git introduced a breaking change with parsing credential configuration that GCM relies on. This issue was fixed in commit 12294990 of the Git project, and released in Git 2.27.0.

How to use

Once it's installed and configured, Git Credential Manager is called implicitly by Git. You don't have to do anything special, and GCM isn't intended to be called directly by the user. For example, when pushing (git push) to Azure DevOps, Bitbucket, or GitHub, a window will automatically open and walk you through the sign-in process. (This process will look slightly different for each Git host, and even in some cases, whether you've connected to an on-premises or cloud-hosted Git host.) Later Git commands in the same repository will re-use existing credentials or tokens that GCM has stored for as long as they're valid.

Read full command line usage here.

Configuring a proxy

See detailed information here.

Additional Resources

See the documentation index for links to additional resources.

Experimental Features

Future features

Curious about what's coming next in the GCM project? Take a look at the project roadmap! You can find more details about the construction of the roadmap and how to interpret it here.

Contributing

This project welcomes contributions and suggestions. See the contributing guide to get started.

This project follows GitHub's Open Source Code of Conduct.

License

We're MIT licensed. When using GitHub logos, please be sure to follow the GitHub logo guidelines.