git清除用户信息

remote: Repository not found.
fatal: repository 'https://github.com/chenbowen950908/zhongzanjiaoyu.git/' not found

git clone 一般会要求输入账号密码,如果你使用公司的电脑的话,git push 和 git pul都报如上的错误,但是远程仓库确实是存在的话。

很有可能是电脑里已经有了别人的账号信息。

验证电脑是否有别人的账号信息

git config -l

查看是否有  credential.helper= xxxx 的信息 如果有 你需要清除 账户信息

git config --system --unset credential.helper

猜你喜欢

转载自www.cnblogs.com/CoderZX/p/11589376.html
今日推荐