JackBlack2006
V2EX  ›  问与答

homebrew 的 brew update 现在要登录?

  •  
  •   JackBlack2006 · Jul 12, 2015 · 2277 views
    This topic created in 4155 days ago, the information mentioned may be changed or developed.
    刚才在终端输入 brew update 出现了如下错误信息

    Stashing your changes:
    D CONTRIBUTING.md
    D LICENSE.txt

    *** Please tell me who you are.

    Run

    git config --global user.email "[email protected]";
    git config --global user.name "Your Name"

    to set your account's default identity.
    Omit --global to set the identity only in this repository.

    这难道意味着homebrew 以后升级都要。。。登录 github?
    Supplement 1  ·  Jul 12, 2015
    已经重装 Homebrew 解决。。。。。。。。。。。。。
    4 replies  •  2015-07-13 07:51:26 +08:00
    agate
    agate
    Jul 12, 2015
    1
    不是的. 这个是让你设置一下你的 git 信息. (不是 github 哟) 这个应该只是 warning 吧
    XiaoxiaoPu
    XiaoxiaoPu
    Jul 12, 2015
    2
    homebrew 是用 git 管理的,brew update 就相当于 git pull,你在本地做了修改,git 自然要暂存起来,没设置 git user,git 就提醒你了
    JackBlack2006
    JackBlack2006
    OP
    Jul 12, 2015
    3
    @agate 但是不能升级了喔
    @XiaoxiaoPu 以前都好好的,今天就突然这样了

    已经重装 Homebrew 解决。。。。。。。。。。。。。
    zhangchioulin
    zhangchioulin
    Jul 13, 2015 via iPhone
    4
    吐个槽指令这么多brew 我是用别惹我记得
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4066 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 110ms · UTC 01:08 · PVG 09:08 · LAX 17:08 · JFK 20:08
    ♥ Do have faith in what you're doing.