git密码修改后,git pull拉取代码时发生错误
fatal: Authentication failed for 'https://git.jd.com/
需要重新认证机器上的git密码,可以使用下列指令重置
git config --system --unset credential.helper
运行指令后,运行git pull,重新输入用户名密码即可。
[root@adb0b7fd-92af-4c83-9a9d-357889d7a908 repaire]# git pull
Username for 'https://git.jd.com': qinhaoda
Password for 'https://qinhaoda@git.jd.com':