• 请不要在回答技术问题时复制粘贴 AI 生成的内容
againstodds
V2EX  ›  程序员

brew update bug

  •  
  •   againstodds · Aug 17, 2016 · 3580 views
    This topic created in 3561 days ago, the information mentioned may be changed or developed.

    If Homebrew was updated on Aug 10-11th 2016 and brew update always says Already up-to-date. you need to run:

    cd $(brew --repo); git fetch; git reset --hard origin/master; brew update

    https://github.com/Homebrew/brew#update-bug

    2 replies    2016-08-18 11:18:12 +08:00
    sea516
        1
    sea516  
       Aug 17, 2016
    之前就是 ruby 2.2 装不起来 要装 homebrew ,然后也装不起来,就懵逼了。
    julyclyde
        2
    julyclyde  
       Aug 18, 2016
    cd 进去之后 status 了一下,确实是干净状态
    branch 了一下,结果是
    * master 06fe347 os/mac/ruby_keg: improve error reporting
    log 了一下,结果是
    commit 06fe347de97975dc01e726f87bf07a56a6fb713e
    Author: Martin Afanasjew <[email protected]>
    Date: Wed Aug 10 17:56:46 2016 +0200

    branch -r 显示
    红色 origin/master

    看起来是当前 branch 的 track 掉了?这个是咋弄掉的???
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1052 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 22:40 · PVG 06:40 · LAX 15:40 · JFK 18:40
    ♥ Do have faith in what you're doing.