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:
- SourceTree Git Error: remote: HTTP Basic: Access denied fatal: Authentication failed
- Git pull and Git pull origin master Warning: Pulling without specifying how to reconcile divergent branches
- [Solved] Git pull error: cannot pull with rebase: Your index contains uncommitted changes.
- [Solved] fatal: not in a git directory Error: Command failed with exit 128: git
- Git Pull Error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errfno 10054
- Git Pull error: Your local changes to the following files would be overwritten by merge:
- [Solved] Git push Error: remote: Support for password authentication was removed on August 13, 2021.
- Git Pull Error:The following untracked working tree files would be overwritten by merge
- Git push Submit to Remote Error: “remote: Support for password authentication was removed on August 13, 2021.“
- [Solved] TortoiseGitPlink Fatal Error: No supported authentication methods available (server sent: publi
- [Solved] Git Error: fatal: refusing to merge unrelated histories
- [Solved] Git error: bad signature 0x00000000 fatal: index file corrupt
- [Solved] Git Error: fatal: refusing to merge unrelated histories
- [Solved] Git Push Error: &fatal: the remote end hung up unexpectedly
- Git fatal: No configured push destination. Either specify the URL from the command-line or co
- Mongodb error: authentication failed [How to Solve]
- [Solved] error: password authentication failed for user “postgres”
- DB::Exception: test: Authentication failed: [How to Solve]
- [Solved] SecureCRT error: keyboard-interactive authentication with the ssh2 server failed