当我运行brew update
时,我收到以下错误消息
$ brew update
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master
我在OS X优胜美地。
答案 0 :(得分:0)
GitHub无法验证您的身份。因此,要么您没有使用SSH密钥设置,要么您没有在您的计算机上设置一个,或者您的密钥与您的GitHub帐户没有关联。