出现场景
拉gitee
的私人仓库时出现以下错误
adodeMacBook-Pro:flutter ado$ git clone https://gitee.com/xxx/xxx-project.git Cloning into 'uoffer-android'... remote: [session-57469386] You hasn't joined this enterprise! fatal: unable to access 'https://gitee.com/xxx/xxx-project.git/': The requested URL returned error: 403
原因
已经使用过其他账号拉过代码,所以有gitee账号的密钥信息。
解决
删除以前的密钥信息即可,再重新使用git clone拉代码。
windows
mac
启动台中找到钥匙串访问打开
在所有项目中搜索gitee或者以前登录过的账号
右键删除即可