brew更新权限错误优胜美地

时间:2015-08-30 21:51:56

标签: macos homebrew osx-yosemite yosemite

当我运行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优胜美地。

1 个答案:

答案 0 :(得分:0)

GitHub无法验证您的身份。因此,要么您没有使用SSH密钥设置,要么您没有在您的计算机上设置一个,或者您的密钥与您的GitHub帐户没有关联。