system: windows 10
问题描述: 当github密码修改后,导致无法顺利拉取远程代码,
命令行输入: git pull
错误信息:
remote: Invalid username or password.
fatal: Authentication failed for '***'
解决方式:
1. ssh-key 重新生成密钥,并将密钥在github的ssh Keys中进行添加
2.
git config --system --unset credential.help
3
git config --global credential.helper store
4.
git pull
6. 按照提示,输入用户名密码,之后就可以保存新的账号信息了