Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.53 KB

usage.md

File metadata and controls

53 lines (34 loc) · 1.53 KB

Command-line usage

After installation, Git will use Git Credential Manager and you will only need to interact with any authentication dialogs asking for credentials. GCM stays invisible as much as possible, so ideally you’ll forget that you’re depending on GCM at all.

Assuming GCM has been installed, use your favorite terminal to execute the following commands to interact directly with GCM.

git credential-manager [<command> [<args>]]

Commands

--help / -h / -?

Displays a list of available commands.

--version

Displays the current version.

get / store / erase

Commands for interaction with Git. You shouldn't need to run these manually.

Read the Git manual about custom helpers for more information.

configure/unconfigure

Set your user-level Git configuration (~/.gitconfig) to use GCM. If you pass --system to these commands, they act on the system-level Git configuration (/etc/gitconfig) instead.

azure-repos

Interact with the Azure Repos host provider to bind/unbind user accounts to Azure DevOps organizations or specific remote URLs, and manage the authentication authority cache.

For more information about managing user account bindings see here.

github

Interact with the GitHub host provider to manage your accounts on GitHub.com and GitHub Enterprise Server instances.