Git/网络问题

来自康健生活
< Git

标题文本

网络问题是一个很大的范围,各种情况都存在,除了使用代理之外,也有一种可能是自身的程序导致网络异常。

在 Windows 下表现为 Receiving objects: 39% (7082/18157),改为使用内置的 ssh 可以改善。

[jian@kang /home/kwy]$
where ssh
C:\Program Files\Git\usr\bin\ssh.exe
C:\Windows\System32\OpenSSH\ssh.exe
/home/kwy
# git config --global core.sshCommand "C:/Program\ Files/Git/usr/bin/ssh.exe"
git config --global core.sshCommand "C:/Windows/System32/OpenSSH/ssh.exe"