git报错:fatal: Authentication failed for ''

Git 2023-07-13 320次浏览

今天改了点东西,正常提交后,从服务器通过git pull拉取代码, 出现以下错误信息:

[root@opt]# git pull
Username for '': ngxcode
Password for '':
fatal: Authentication failed for ''

可以输入一下代码,清理机器上的账号密码,然后git pull重新输入账号密码就可以了

git config --system --unset credential.helper


git报错:fatal: Authentication failed for ''

喜欢 (0)
表情 贴图 加粗 删除线 居中 斜体 签到


  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. Appreciating the hard work you put into your site and in depth information you present. It's good to come across a blog every once in a while that isn't the same unwanted rehashed material. Fantastic read! I've bookmarked your site and I'm including your RSS feeds to my Google account.
    googletest2024-01-23 23:45 回复 Windows 8.1 | Chrome