LoginSignup
3
3

More than 5 years have passed since last update.

brew update をするとエディタが開いてgit mergeを要求されるときの対処

Posted at

問題

  • brew update をするとエディタが開いてしまう

環境

  • Mac
    • OSX Yosemite

原因

対策

  • > "git reset --hard origin/master" in /usr/local.

実施

% cd /usr/local
% git status
On branch master
nothing to commit, working directory clean
% git reset --hard origin/master
HEAD is now at 4689390 dfmt: update 0.4.2 bottle.

上記作業例のように一度スッキリさせてあげると、問題なく動作する。

3
3
2

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
3
3