Secure Git credential storage for Windows with support for Visual Studio Team Services, GitHub, and Bitbucket multi-factor authentication.
View the Project on GitHub microsoft/Git-Credential-Manager-for-Windows
The Git Credential Manager for Windows (GCM) provides secure Git credential storage for Windows. GCM provides multi-factor authentication support for Azure DevOps, Team Foundation Server, GitHub, and BitBucket.
After installation, Git will use the Git Credential Manager for Windows and you will only need to interact with any authentication dialogs asking for credentials. The GCM stays invisible as much as possible, so ideally you’ll forget that you’re depending on GCM at all.
Assuming the GCM has been installed, using your favorite Windows console (Command Prompt, PowerShell, ConEmu, etc.), use the following command to interact directly with the GCM.
git credential-manager [<command> [<args>]]
Removes stored credentials for a given URL. Any future attempts to authenticate with the remote will require authentication steps to be completed again.
This method is being deprecated and users should use “git credential reject” instead
Deploys the Git Credential Manager for Windows package and sets Git configuration to use the helper.
Specifies a path (<installation_path>) for the installer to deploy to. If a path is provided, the installer will not seek additional Git installations to modify.
Instructs the installer to not prompt the user for input during deployment and restricts output to error messages only.
When combined with --force
all output is eliminated; only the return code can be used to validate success.
Instructs the installer to proceed with deployment even if prerequisites are not met or errors are encountered.
When combined with --passive
all output is eliminated; only the return code can be used to validate success.
Removes the Git Credential Manager for Windows package and unsets Git configuration to no longer use the helper.
Specifies a path (<installation_path>) for the installer to remove from. If a path is provided, the installer will not seek additional Git installations to modify.
Instructs the installer to not prompt the user for input during removal and restricts output to error messages only.
When combined with --force
all output is eliminated; only the return code can be used to validate success.
Instructs the installer to proceed with removal even if prerequisites are not met or errors are encountered.
When combined with --passive
all output is eliminated; only the return code can be used to validate success.
Displays the current version.
Synonym for delete.
Synonym for deploy.
Synonym for remove.
Commands for interaction with Git.