Git-Credential-Manager-for-Windows
Git-Credential-Manager-for-Windows copied to clipboard
Does not save credentials with only username
Which Version of GCM are you using ?
From a command prompt, run git credential-manager version and paste the output.
1.18.3 (used1.18.4 installer)
Which service are you trying to connect to
- [ ] Other? - please describe;
Gogs private repo.
Expected behavior After the first prompt for authentication and putting in successful details. Should not be prompted again on next git pull.
Actual behavior Prompted every git pull.
Notes
This appears to be a regression of some kind as it worked before I updated both GCM and git (2.20.1.windows.1). If I disable 2-factor auth so that I can use a username and password it works fine. Gogs uses only a username token for application passwords.
Set the env variables GCM_TRACE=1 and GIT_TRACE=1 and run your git command. Redact any private information and attach the log