Tag Archives: fatal:Authentication failed for “xxxx”

Git pull code authentication failed with error: fatal: authentication failed for “XXXX”

The main reason for this problem is that the account and password are wrong

The solution is very simple. Open your git bash here on the project, and then enter git config — System — unset credential.helper. After exiting, pull the project again. You will be asked to enter your account and password. Enter it and it will be OK

If the problem has not been solved, it means that there is a problem with your account and password. Check whether the account and password are entered incorrectly and whether the password has expired. My problem is that the password has expired and needs to be reset

If not, open the control panel – user account – credential manager – manage windows credentials – normal credentials (delete all), and then repeat the above operation. OK! everything will be fine!