LoginSignup
1
1

More than 5 years have passed since last update.

homebrewでgitをアップデートした際のSourcetreeでのエラーについて

Posted at

SouceTreeの設定をデフォルト設定である「内臓のgit」を使用する設定ではなく
homebrewでインストールしていたgitを使用するように設定を変更していた場合
homebrewでgitのバージョンアップをすると次の図のようなエラー

「git status failed with code -1: launch path not accesible」

が発生することがあります。

スクリーンショット 2017-09-27 15.07.28.png

SouceTreeの環境設定を開き、次の図のようになっていた場合、gitバイナリが見つからなくなっている状態になっているので、エラーメッセージのすぐ下の「内蔵のgitに戻す」を押すか、「システムのgitを使用する」を押して、正しいgitバイナリの位置を再設定することにより復帰できます。

スクリーンショット 2017-09-27 15.10.08.png

よく忘れてしまうのでメモのため記述しました。

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