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
1
sea516 2016-08-17 21:40:14 +08:00
之前就是 ruby 2.2 装不起来 要装 homebrew ,然后也装不起来,就懵逼了。
|
2
julyclyde 2016-08-18 11:18:12 +08:00
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 掉了?这个是咋弄掉的??? |