Windows更新Git

1. 打开Git命令行窗口;

2. 执行如下命令:

git update-git-for-windows

3. 如果报错,尝试在hosts(C:\Windows\System32\drivers\etc)中加入如下内容,我是在https://ip.tool.chinaz.com/查的

  curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection

172.67.12.172    https://git-scm.com/
140.82.114.3    https://github.com/

 

posted @ 2022-12-05 15:17  不夹心饼干  阅读(324)  评论(0编辑  收藏  举报