Git pull code error fatal: authentication failed fo
Detailed error reporting information:
git.exe pull --progress -v --no-rebase
"http://nj.eliansun.com:8082/tfs/DefaultCollection/
%E6%B1%9F%E8%8B%8F%E5%8C%BB%E4%B
F%9D%E9%A1%B9%E7%9B%AE/_git/01_%E6%B
1%9F%E8%8B%8F%E5%8C%BB%E4%BF%9D%E
5%9B%BD%E5%AE%B6%E6%96%B0%E5%B9%B3%E5%8F%B0" zj_demo
fatal: Authentication failed for 'http://nj.eliansun.com:8082/tfs/DefaultCollection/%E6%B1%9F%E
8%8B%8F%E5%8C%
BB%E4%BF%9D%E9%A1%B9%E7%9B%AE/_git/01_%
E6%B1%9F%E8%8B%8F%E5%8C%BB%E4%BF%9D
%E5%9B%BD%E5%AE%B6%E6%96%B0%E5%B9%B3%E5%8F%B0/'
The general description is that your voucher is wrong. If you have changed your password recently, you need to modify your local voucher as follows:
Open control panel in --- user account --- credentials management --- windows credentials --- edit --- save
If the account and password are correct (not in accordance with the above), please look below
First kind
Use the command to re-enter the account password
git config --system --unset credential.helper
Errors, i.e. permission problems, may occur, for example:
error: could not lock config file C:/Program Files/Git/mingw64/etc/gitconfig: Permission denied
The file C:/program files/git/mingw64/etc has insufficient permissions. Change the operation permissions under this folder to all permissions. Windows 10 system can be set to everyone, and then re execute the above commands.
Second
If the above operation cannot modify the permission or the above operation is still invalid, you can use the tool [tortoisegit] for short, little turtle
The specific operations are as follows:
enter the little turtle setting page
double click git, select Edit gitconfig (y) to enter the page, and then modify the following position
Amend as follows
[credential]
helper = store
After pulling or other operations, you will be prompted to enter the account password before operation
Read More:
- [Solved] fatal: could not read Username for
- SourceTree Git Error: remote: HTTP Basic: Access denied fatal: Authentication failed
- [Solved] idea git Update failed unable to access ‘httpxxx‘ The requested URL returned error: 500
- [Local Precompilation Error] do not set execute permissions for source files
- fatal: unable to access”: The requested URL returned error: 500
- How to Fix the printer error 0x00000709 on Windows
- How to Solve Error: cannot open .Git/fetch_HEAD: Permission denied
- [step on the pit] idea submits the code to GitHub and prompts 403 — the requested URL returned error: 403
- The requested URL returned error: 403 [How to Solve]
- [Solved] STM32F4 MDK5 Software Simulate Error: error 65: no ‘read‘ permission
- Kafka Creates and Writes Logs Error [How to Solve]
- [Solved] GitHub Error: remote: Support for password authentication was removed on August 13, 2021.
- git_error:unable to auto-detect email address [How to Solve]
- Redis cannot double-click redis-server.exe to start normally
- [Solved] Git push Error: remote: Support for password authentication was removed on August 13, 2021.
- [Solved] Vscode Connect to the remote server error: permission denied (public key)
- Git push Submit to Remote Error: “remote: Support for password authentication was removed on August 13, 2021.“
- How to Fix Error 1069:The service did not start due to a logon failure
- Support for password authentication was removed on August 13, 2021
- Android 10 open file exception open failed: eacces (permission denied) android:requestLegacyExternalStorage= “true“