git pull报下面错误时:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
执行ssh-agent bash 命令后可以正常git pull(注意用在同一个命令窗口退出窗口要从新执行)
当执行gitpull时遇到Permissiondenied(publickey).Fatal:Couldnotreadfromremoterepository.的错误,可以通过执行ssh-agentbash命令来临时解决。该方法要求在同一命令窗口操作,一旦窗口关闭,需要重新执行。这表明是SSH密钥配置或访问权限出错。
git pull报下面错误时:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
执行ssh-agent bash 命令后可以正常git pull(注意用在同一个命令窗口退出窗口要从新执行)
2799
450

被折叠的 条评论
为什么被折叠?