问题描述克隆指令git clone gitigit.xxxxcorp.com:ai_group/corp-workspace.git报错$ git clone gitigit.xxxxcorp.com:ai_group/corp-workspace.gitCloning into ‘corp-workspace’…gitigit.xxxxcorp.com’s password:fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.首先设置用户名和邮箱git config --global user.name 你的名字 git config --global user.email 你的公司邮箱 #查看 git config --list其次生成公钥匹配公钥#通过命令 ssh-keygen 生成 SSH Key ssh-keygen -t ed25519 -C Gitee SSH Key查询密钥文件ls ~/.ssh/读取公钥文件cat ~/.ssh/id_ed25519.pub #例 ssh-ed25519 AAAA***5B Gitee SSH Key将公钥写入 igit 的秘钥中保存。