[Git] windows直接用命令更新Git 版本

在这里插入图片描述

1.检查当前版本

git version

2.执行更新命令

git update-git-for-windows

出现问题curl: (35) OpenSSL SSL_connect: Connection was reset in connection to api.github.com:443,运行下面命令

git config --global --unset http.proxy
git config --global --unset https.proxy

再接着执行

git update-git-for-windows

3.下载完后直接弹出
在这里插入图片描述

一路默认点下去在这里插入图片描述
再检查下版本

git version

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/iChangebaobao/article/details/108791579