pulling github git clone codes given above: fatal: Authentication failed for xxx solution

1. Open the git bash, enter the password: git config --system --unset credential.helper
2. results error: error: could not Lock File xxx config: Permission denied
3. Open the cmd window, enter where cmd, find cmd.exe after the path, right-click cmd.exe run as administrator
4. in the cmd window, type: git config --system --unset credential.helper, success!
5. Open the git bash window, re-clone, gitlab enter your username and password, clone success!

 

Guess you like

Origin www.cnblogs.com/rrl92/p/11597417.html