报错信息
git clone git@github.com:ElemeFE/mint-ui.git
正克隆到 'mint-ui'...
Warning: Permanently added the RSA host key for IP address '13.250.177.223' to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: 无法读取远程仓库。
请确认您有正确的访问权限并且仓库存在。
mac配置git多账号设置
vi ~/.ssh/config文件
添加
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/github
配置即可。