LoginSignup
0
0

More than 5 years have passed since last update.

brew upadateできない

Posted at

brew update できない

エラー内容

Cannot pull with rebase: Your index contains uncommitted changes.
Please commit or stash them.
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master

以下の記事を読んで解決!

Homebrewのアップデート(brew update)でエラーが出た場合の対処法 - HAM MEDIA MEMO

/use/local/に移動

cd /usr/local
git fetch origin
git reset --hard origin/master

git resetとは

この後、「brew upadate」できるようになりました

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0