LoginSignup
1
0

More than 1 year has passed since last update.

【Git Bash for Windows】アップデート時のssh-agentに関するエラー

Last updated at Posted at 2021-12-09

環境

  • Microsoft Windows 10.0.22000.318(21H2)
  • Git Bash 2.34.1.windows.1

現象

git update-git-for-windows でGitのアップデートをした際、以下のように書かれたエラーダイアログが表示された。

The following process(es) use Git for Windows:
ssh-agent.exe
Please terminate those processes and retry.
Alternatively, cancel to abandon setup altogether.

原因

ssh-agent が起動していた(=Git を使用していた)ために、アップデートできなかったようだ。

対処法

ssh-agent -k を実行して ssh-agent を停止することで解決した。
ちなみに、起動するときは、ssh-agent bash を実行する。

参考

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