Can't change git password
See original GitHub issueDescribe the bug
Can’t change git password
Version & OS
Windows 10 x64 Github Desktop Version 2.2.4
Steps to reproduce the behavior
- Add external repo to github desktop, commit to it (you will be prompted to enter credentials before first push).
- Then change password for this account
- Create new commit in github desktop
- You will be prompted to enter new credentials, which will not work.
Expected behavior
I am expecting to successfully change password in “Authentication failed” prompt.
Actual behavior
Authentication failed every time.
Screenshots
Logs
Here I am trying twice:
2020-01-08T11:16:08.108Z - info: [ui] [AppStore] loading 14 repositories from store
2020-01-08T11:16:08.108Z - info: [ui] [AppStore] found account: saloid (Dmytro)
2020-01-08T11:16:08.487Z - info: [ui] launching: 2.2.4 (Windows 10.0.18362)
2020-01-08T11:16:08.488Z - info: [ui] execPath: 'C:\Users\myUserName\AppData\Local\GitHubDesktop\app-2.2.4\GitHubDesktop.exe'
2020-01-08T11:16:08.903Z - info: [ui] Current tutorial step is NotApplicable
2020-01-08T11:16:14.352Z - info: [ui] Executing push: git -c credential.helper= push origin more_devices:more_devices --progress (took 1.190s)
2020-01-08T11:16:29.157Z - info: [ui] Current tutorial step is NotApplicable
2020-01-08T11:16:34.655Z - info: [ui] storing generic credentials for 'gitlab.my-company-address.com/projects_address' and 'my.mail@my-company-address.com'
2020-01-08T11:16:35.700Z - info: [ui] Executing push: git -c credential.helper= push origin more_devices:more_devices --progress (took 1.025s)
2020-01-08T11:16:48.579Z - info: [ui] storing generic credentials for 'gitlab.my-company-address.com/projects_address' and 'my.mail@my-company-address.com'
2020-01-08T11:16:49.622Z - info: [ui] Executing push: git -c credential.helper= push origin more_devices:more_devices --progress (took 1.015s)
Additional context
I have even tried to change password via windows Credential Manager for both: simple git and Github desktop - still getting auth failed. From simple git cli I can push after changing that, but not from Github desktop.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
windows: git has old github username, cant change git user
Another thing I tried was to edit the .git/config after cloning the repo. I tried changing the https to ssh url, as https...
Read more >How to update your Git credentials on Windows
To update your credentials, go to Control Panel -> Credential Manager -> Generic Credentials. Find the credentials related to your git account ...
Read more >7.14 Git Tools - Credential Storage
This means that until you change your password for the Git host, you won't ever have to type in your credentials again. The...
Read more >Can't use git Fetch of Pull since change to app passwords.
Solved: Since the change to app passwords I can't do a git Fetch or Pull. I have created an app password. In trying...
Read more >Git does not remember username and password on Windows
Manually set the credentials in the Windows Credential Manager · Check if your git repository credential is not already listed · Manually add ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have deleted github record in windows credential manager and now it works. I was prompted to enter username and password like before, but in this time it was without error.
@saloid try try closing GitHub Desktop, deleting the
%AppData%\GitHub Desktop
directory, and then launching GitHub Desktop again – this should clear out everything. You will need to add your local repositories back into GitHub Desktop after doing this (dragging-and-dropping multiple repositories is the quickest way to do this).