Skip to content

Created a PAT, but git keeps sending a password #23909

Discussion options

You must be logged in to vote

I finally found the root cause of my problem. The github username and password were cached in a _netrc file in my Documents directory. What’s really insidious is that none of the git commands seemed to be able to either display or delete this cache. With this problem fixed, git is now using the PAT stored in Windows Credential manager, and I don’t have to edit the remote origin url in every config file of every local repository to make authentication work.

Replies: 15 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants