Skip to content

A dotnet global tool to interface with the Git Credentials Manager Core

License

Notifications You must be signed in to change notification settings

devlooped/dotnet-gcm

Repository files navigation

Icon dotnet-gcm

Version Downloads License Build

A dotnet global tool for managing Git credentials using the cross-platform Git Credential Manager (GCM) for Windows, macOS and Linux, with support for Azure DevOps, Bitbucket, GitHub, and GitLab.

USAGE:
    dotnet gcm [OPTIONS] <COMMAND>

OPTIONS:
    -h, --help    Prints help information

COMMANDS:
    get       Get a stored credential
    delete    Delete a stored credential
    set       Store a credential

Note that all commands can operate on a simplified syntax using a full URI, which can include username:password (as in the set command). That argument is converted to a Uri and the existing options are used as the default value for required options that aren't provided. You can alternatively provide the individual options.

dotnet gcm get

DESCRIPTION:
Get a stored credential.

USAGE:
    dotnet gcm get [URL] [OPTIONS]

ARGUMENTS:
    [URL]    A URL used to populate options from a single value: [protocol]://[user]:[password]@[host]/[path?]

OPTIONS:
    -h, --help               Prints help information
    -s, --scheme <SCHEME>    The protocol over which the credential will be used (e.g., https)
    -h, --host <HOST>        The remote hostname for a network credential. This can include the port number
        --path <PATH>        The path with which the credential will be used. E.g., for accessing a remote https repository, this will be the repository's
                             path on the server

dotnet gcm set

DESCRIPTION:
Store a credential.

USAGE:
    dotnet gcm set [URL] [OPTIONS]

ARGUMENTS:
    [URL]    A URL used to populate options from a single value: [protocol]://[user]:[password]@[host]/[path?]

OPTIONS:
    -h, --help                   Prints help information
    -s, --scheme <SCHEME>        The protocol over which the credential will be used (e.g., https)
    -h, --host <HOST>            The remote hostname for a network credential. This can include the port number
        --path <PATH>            The path with which the credential will be used. E.g., for accessing a remote https repository, this will be the
                                 repository's path on the server
    -u, --username <USERNAME>    The credential's username
    -p, --password <PASSWORD>    The credential's password

dotnet gcm delete

DESCRIPTION:
Delete a stored credential.

USAGE:
    dotnet gcm delete [URL] [OPTIONS]

ARGUMENTS:
    [URL]    A URL used to populate options from a single value: [protocol]://[user]:[password]@[host]/[path?]

OPTIONS:
    -h, --help               Prints help information
    -s, --scheme <SCHEME>    The protocol over which the credential will be used (e.g., https)
    -h, --host <HOST>        The remote hostname for a network credential. This can include the port number
        --path <PATH>        The path with which the credential will be used. E.g., for accessing a remote https repository, this will be the repository's
                             path on the server

Sponsors

Clarius Org Kirill Osenkov MFB Technologies, Inc. Stephen Shaw Torutek DRIVE.NET, Inc. Ashley Medway Keith Pickford Thomas Bolon Kori Francis Toni Wenzel Giorgi Dalakishvili Uno Platform Dan Siegel Reuben Swartz Jacob Foshee Eric Johnson Ix Technologies B.V. David JENNI Jonathan Oleg Kyrylchuk Charley Wu Jakob Tikjøb Andersen Seann Alexander Tino Hager Mark Seemann Ken Bonny Simon Cropp agileworks-eu sorahex Zheyu Shen Vezel ChilliCream 4OTC

Sponsor this project  

Learn more about GitHub Sponsors

About

A dotnet global tool to interface with the Git Credentials Manager Core

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Contributors 3

  •  
  •  
  •  

Languages