删除电脑缓存的密码(VSCode编辑器提交代码提示: Failed to authenticate to git remote)

删除电脑缓存的密码


参考:https://jingyan.baidu.com/article/22a299b50c76e69e19376ad9.html
https://blog.csdn.net/m0_38022029/article/details/83374407

1)win + R ,输入cmd ,按Enter键,在命令行中输入 “control userpasswords2”
删除电脑缓存的密码(VSCode编辑器提交代码提示: Failed to authenticate to git remote)_第1张图片进入一下窗口,点击“管理密码”
删除电脑缓存的密码(VSCode编辑器提交代码提示: Failed to authenticate to git remote)_第2张图片
删除电脑缓存的密码(VSCode编辑器提交代码提示: Failed to authenticate to git remote)_第3张图片
选择对应的普通凭据进行编辑(输入正确的账号和密码)或删除(会重新弹出输入密码和账号的窗口)。
删除电脑缓存的密码(VSCode编辑器提交代码提示: Failed to authenticate to git remote)_第4张图片


---------------分割线----------------------

2021.9.16

通过VSCode编辑器提交代码时提示:
删除电脑缓存的密码(VSCode编辑器提交代码提示: Failed to authenticate to git remote)_第5张图片
和以上步骤一样,在windows凭据中找到对应的凭据并删除,然后再次提交代码,然后在弹窗中重新输入正确的用户名和密码就可以了。
删除电脑缓存的密码(VSCode编辑器提交代码提示: Failed to authenticate to git remote)_第6张图片

你可能感兴趣的:(git,vscode,缓存,git)