Skip to content

Instantly share code, notes, and snippets.

@glombard
Created May 1, 2014 10:59
Show Gist options
  • Save glombard/2cabc6f4db6a0d00878b to your computer and use it in GitHub Desktop.
Save glombard/2cabc6f4db6a0d00878b to your computer and use it in GitHub Desktop.
Use cmdkey to add a Git credential to the Windows Credential Manager
# to add a new Git credential to the Credential Manager:
cmdkey /generic:LegacyGeneric:target=git:https://github.com /user:username /pass:"mypassword"
# to list all credentials:
cmdkey /list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment