gitpersonal-access-token

Git won't accept PAT and thinks it's a password


I want to clone my repository and got a prompt that I could no longer use passwords, and had to instead use a Personal Access Token.

But whenever I try to enter it (either in the popup window or the CMD directly) it keeps telling me I can't use passwords anymore and need a PAT. I'm putting it in the password field both times.

The PAT has the highest possible rights I could give it.


Solution

  • I randomly tried GIT BASH instead of the CMD and the second prompt did accept the PAT for the password field. I'd still like to know why this is the case.