github桌面端上传出现unable to access

warning: Pulling without specifying how to reconcile divergent branches is discouraged. You can squelch this message by running one of the following commands sometime before your next pull: git config pull.rebase false # merge (the default strategy) git config pull. rebase true # rebase git config pull.ff only # fast-forward only You can replace "git config" with "git config -global" to set a default preference for all repositories. You can also pass --rebase, --no-rebase, or --ff-only on the command line to override the configured default per invocation. fatal: unable to access ': LibressL ssL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 Close

打开 hosts文件,地址:C:\Windows\System32\drivers\etc 

在文件末尾添加如下内容,并保存:

 
  1. 192.30.255.112  github.com git

  2. 185.31.16.184 github.global.ssl.fastly.net