【问题标题】:brew update permission error yosemitebrew更新权限错误优胜美地
【发布时间】:2015-08-30 21:51:56
【问题描述】:

当我运行 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 Yosemite 上。

【问题讨论】:

    标签: macos homebrew osx-yosemite


    【解决方案1】:

    GitHub 无法对您进行身份验证。所以,要么你没有设置 SSH 密钥,因为你没有在你的机器上设置一个,要么你的密钥没有与你的 GitHub 帐户相关联。

    【讨论】:

    • 为什么 Homebrew 需要通过 GitHub 进行身份验证才能git pull
    猜你喜欢
    • 2014-12-13
    • 2015-07-16
    • 1970-01-01
    • 2015-01-22
    • 1970-01-01
    • 2014-10-04
    • 1970-01-01
    • 1970-01-01
    • 2015-01-04
    相关资源
    最近更新 更多