公司一同事离职了,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、执行完以上操作后,再次尝试更新代码
网友评论