在使用clash时,开启tun模式时,拉取仓库代码会报错,解决方法

修复方法:
在~/.ssh/config中添加以下内容

1
2
3
4
Host github.com
Hostname ssh.github.com
Port 443
User git

来源