LoginSignup
14
13

More than 5 years have passed since last update.

IntelliJ系で git push ができないのを解消

Posted at

せっかくIntelliJ系のIDE使ってるんだからちゃちゃっとしたGitの操作はIDE内で出来たら楽だなーと思ってはいたんだけどずっとgit pushができなくて調べるのも面倒で放置してたんだけどちょっと調べたら解決した。ダメ、横着、ゼッタイ。

エラー内容

git pushしたら毎回こんなんが出てた

Push failed: Failed with error: fatal: Could not read from remote repository.

解消方法

Preferences > Git > SSH executable
ここをNativeにする。

Preferences 2016-08-18 11-43-53.jpg

デフォルトだとビルトインのSSHを使ってるから~/.ssh/configを読まないってことかな

14
13
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
14
13