一、问题:
设置ssh密钥密码后在vscode中使用会挂起。
二、解决:
1.去掉ssh密钥密码;
2.使用https地址访问;
三、vscode官方文档:
1 2 3 4 |
Resolving hangs when doing a Git push or sync on an SSH host# If you clone a Git repository using SSH and your SSH key has a passphrase, VS Code's pull and sync features may hang when running remotely. Either use an SSH key without a passphrase, clone using HTTPS, or run git push from the command line to work around the issue. |
地址:
Resolving hangs when doing a Git push or sync on an SSH host