fatal: unable to access 'https://gitee.com/xxxxxx/vue-demo.git/': The requested URL returned error: 403
由于之前使用其他人的账号clone过项目提交代码显示错误 fatal: unable to access 'https://gitee.com/xxxxxx/vue-demo.git/': The requested URL returned error: 403
找问题招了好久
修改git账号密码即可
在开始搜索凭证>windows凭据>普通票据找到删除或者修改(我删了没有效果,于是又在寻找执行git命令的方式)
如果不行则尝试在git bash
中输入(我用的是第一种,第二种和第三种我执行完之后没有效果)
git credential-manager remove | uninstall
或者
git config --global credential.helper wincred
或者
git config --system --unset credential.helper
之后继续执行git操作,git push的时候会有弹出框输入账号密码按ok即可。
希望能帮助到你们