美文网首页
git - remote:Repository not foun

git - remote:Repository not foun

作者: 异乡人_4f2a | 来源:发表于2019-10-18 15:56 被阅读0次

公司一同事离职了,git权限被禁掉了,此时,在此电脑上登录自己的git账号更新代码时,报了如下错误:

git - remote:Repository not found

解决办法:

1、将钥匙串中离职同事的git密码删掉,再看是否能更新代码

2、如果以上方法操作后,还是无法更新代码:

先卸载git:brew uninstall git

再次安装git: brew install git

设置git的用户名和密码:

git config --global user.name "username"

git config --global user.email "email"

3、执行完以上操作后,再次尝试更新代码

相关文章

网友评论

      本文标题:git - remote:Repository not foun

      本文链接:https://www.haomeiwen.com/subject/nonimctx.html