I have a little problem today. Come here to share and record:
To solve the problem of authentication failed for ‘http:// * * *. Git’ in the pull project times, let’s share two solutions:
In the case of GIT permission and account password, the reason for this problem is the wrong user name and password
Solution 1:
reset the user name and password as follows:
Set Username
git config --global user.name test1
Set Password
git config --global user.password 123456
After setting, you can use git clone command or git fetch command to pull the project again.
Solution 2:
1) input the following command
git config --system --unset credential.helper
2) Pull the project through git clone or git fetch command, and re-enter the user name and password to successfully pull the project.