https://github.com/devlooped/dotnet-gcm
A dotnet global tool to interface with the Git Credentials Manager Core
https://github.com/devlooped/dotnet-gcm
dotnet dotnet-tool
Last synced: about 1 year ago
JSON representation
A dotnet global tool to interface with the Git Credentials Manager Core
- Host: GitHub
- URL: https://github.com/devlooped/dotnet-gcm
- Owner: devlooped
- License: mit
- Created: 2020-09-25T22:08:54.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-18T00:30:45.000Z (about 1 year ago)
- Last Synced: 2025-03-25T03:34:04.165Z (about 1 year ago)
- Topics: dotnet, dotnet-tool
- Language: C#
- Homepage: https://clarius.org/dotnet-gcm
- Size: 157 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: license.txt
Awesome Lists containing this project
README
 dotnet-gcm
============
[](https://www.nuget.org/packages/dotnet-gcm) [](https://www.nuget.org/packages/dotnet-gcm) [](https://github.com//devlooped/dotnet-gcm/blob/main/license.txt) [](https://github.com/devlooped/dotnet-gcm/actions)
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]
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 The protocol over which the credential will be used (e.g., https)
-h, --host The remote hostname for a network credential. This can include the port number
--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 The protocol over which the credential will be used (e.g., https)
-h, --host The remote hostname for a network credential. This can include the port number
--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 The credential's username
-p, --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 The protocol over which the credential will be used (e.g., https)
-h, --host The remote hostname for a network credential. This can include the port number
--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
[](https://github.com/clarius)
[](https://github.com/KirillOsenkov)
[](https://github.com/MFB-Technologies-Inc)
[](https://github.com/decriptor)
[](https://github.com/torutek-gh)
[](https://github.com/drivenet)
[](https://github.com/AshleyMedway)
[](https://github.com/Keflon)
[](https://github.com/tbolon)
[](https://github.com/kfrancis)
[](https://github.com/twenzel)
[](https://github.com/Giorgi)
[](https://github.com/unoplatform)
[](https://github.com/dansiegel)
[](https://github.com/rbnswartz)
[](https://github.com/jfoshee)
[](https://github.com/Mrxx99)
[](https://github.com/eajhnsn1)
[](https://github.com/IxTechnologies)
[](https://github.com/davidjenni)
[](https://github.com/Jonathan-Hickey)
[](https://github.com/okyrylchuk)
[](https://github.com/akunzai)
[](https://github.com/jakobt)
[](https://github.com/seanalexander)
[](https://github.com/tinohager)
[](https://github.com/ploeh)
[](https://github.com/KenBonny)
[](https://github.com/SimonCropp)
[](https://github.com/agileworks-eu)
[](https://github.com/sorahex)
[](https://github.com/arsdragonfly)
[](https://github.com/vezel-dev)
[](https://github.com/ChilliCream)
[](https://github.com/4OTC)
[](https://github.com/sponsors/devlooped)
[Learn more about GitHub Sponsors](https://github.com/sponsors)