LoginSignup
0

More than 1 year has passed since last update.

Windows10 + WSL2(Ubuntu-20.04) + phpStorm でGitがコケた

Posted at

phpStorm いつのまにか、GitHubへの操作ができない

git@github.com: Permission denied (publickey). Could not read from remote repository.

と、怒られた。

スクリーンショット 2022-04-26 112959.jpg

ぐぬぬ。

phpStorm以外のGit系のツールやWindowsのコマンドでは動く
なんか設定おかしい?
と思って確認すると

あれ?
スクリーンショット 2022-04-26 112800.jpg
開発したブツはUbuntuでGitは基本的にせずWindows側でしているのだが、
いつのまにか設定かわっておる
別件でUbuntu上でGitからみの作業した記憶はある。が勝手にかわるものなのか?

ということで、以下のように設定して事なきを得た。
スクリーンショット 2022-04-26 112908.jpg

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