Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kelbyers/6e845fd28b8bf55ef66b36025ca06c10 to your computer and use it in GitHub Desktop.
Save kelbyers/6e845fd28b8bf55ef66b36025ca06c10 to your computer and use it in GitHub Desktop.
git-credential manager for windows with cygwin
As of git version 2.28:
- you do not need to copy files anywhere, simply configuring `credential.helper` to `manager`
works if the credential manager is installed
- you do not need to install GCMW separately. It is an optional component with Git for Windows. It will be
installed by default with Git for Windows 2.29.
OBSOLETE:
From: https://github.com/Microsoft/Git-Credential-Manager-for-Windows/issues/146#issuecomment-211944606
http://stackoverflow.com/a/36721316/4377192
Get the GCMW's latest release, download the zip file (not the installer), extract it's contents (only .dll and .exe files are needed) to
C:\cygwin\usr\libexec\git-core\ for 32-bit Cygwin, or C:\cygwin64\usr\libexec\git-core\ for 64-bit Cygwin. Reference
To tell git to use GCMW, execute: git config --global credential.helper manager
To get GUI prompts for credentials, execute: git config --global credential.modalprompt true
If you want this to be a per-repository setting, remove the --global option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment