過去記事
PowershellのgitではpushできるのにVSCodeのgit(GUI)ではpushできない問題
症状と背景
パスフレーズ聞かれる、VScodeだと動かない、pushできない、などなど不具合多数
Windows10 -> 11 に変えたけど、それが原因...?
原因
ssh-agentが死んでいた
対応
Powershell管理者権限
Set-Service -Name ssh-agent -StartupType Manual
Start-Service ssh-agent
ssh-add再登録
C:\Users\ajishixo>ssh-add C:\Users\<username>\id_rsa
Enter passphrase for C:\Users\<username>\id_rsa:
Identity added: C:\Users\<username>\id_rsa (C:\Users\<username>\id_rsa)
