Github Desktop for windows Fails - using passwords? #22370
-
I am also running into issues after the Friday the 13th changes that no longer support password access. I did receive some warning during the time frame, but figured it was from some command lines I used at different times. I did not worry much about it as the website:
Token authentication requirements for Git operations | The GitHub BlogBeginning August 13th, 2021, we will no longer accept account passwords when authenticating Git operations on GitHub.com. Said: “Desktop applications using Git (GitHub Desktop is unaffected)” But that appears to not be correct, as I can not get my Windows 10 machine to upload anything to github through either the CLI or the Github desktop. For example tried pushing up change to a read me file using the desktop: Over the weekend I tried uninstalling both Git and Github desktop, I tried to delete most all of the git configuration files I know of, except not the git files that are in each project (I think I have over 200) I reinstalled both, Repopulated most of the projects into desktop using drag and drop. Still same issue. I went to the credentials manager and deleted the github one. I changed the password to my github account… On one project I got around it first time, by copying files to my Linux install and then had editor change line endings… And then upload… Since then I have pushed up several changes by having a Ubuntu window open on my Windows 10 machine, and using git from there to push up the changes using PAT… Note: the CLI on WIndows 10 does not prompt me for password are anything It just also gives similar error:
So question is what obvious thing am I missing? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I believe there is somewhere on my machine that is caching the password or the like to github which is interfering. with GIT here. When I try it from a different machine it works, Again I have removed github and git a few times. Tried to delete any global git/github files. Did find some places that from long ago was in like a hosts file, which I removed. like in a .ssh file… I tried using regedit and removed anything that looked like maybe??? Deleted the credentials multiple times. But for example if I don’t have anything set for: git config --globals user… Not sure if this helps but here is some debug output trying to do a push:
Any suggestions on where I may have many years ago cached the connection information to Git/github Thanks in advance |
Beta Was this translation helpful? Give feedback.
-
Fixed it… Found the file: c:\users\kurte\_netrc
I deleted it and now github desktop for windows and git works, with the updated validation |
Beta Was this translation helpful? Give feedback.
Fixed it…
Found the file: c:\users\kurte\_netrc
That looked something like: (Edited the password)
I deleted it and now github desktop for windows and git works, with the updated validation