git - Why am I told to 'cd' when updating Homebrew? -
this question has answer here:
since latest update of homebrew (to 1.0.0), instead of seeing
checking out v1.0.1 in /usr/local/homebrew...
when brew update
or brew upgrade --all
see
checking out v1.0.1 in /usr/local/homebrew... checkout v1.0.1 in /usr/local/homebrew run: 'cd /usr/local/homebrew && git checkout v1.0.1
is error should about? what's going on here? updates no failing me?
i had same problem. found solution in this question, similar yours:
cd $(brew --prefix)/homebrew && git fetch && git reset --hard origin/master
it seemed caused difference in "prefix" , "repository" directories homebrew.
Comments
Post a Comment