问题
win下运行git update-git-for-windows结果报错:
Git for Windows 2.37.2.windows.1 (64-bit)
Update 2.38.0.windows.1 is available
Download and install [N/y]? y
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
解决方法
目前不知道为什么会出现该问题。但解决方法就直接去下新版好了。
- 进入镜像Index of /git-for-windows/
- 选择某一版本,如
v2.37.2.windows.1/ - 选择32位或64位
Git-2.37.2-64-bit.exe(64位) - 下载完成后会覆盖原先的版本
本文介绍了Windows用户在尝试使用git update-git-for-windows遇到的错误,并提供了直接下载新版本进行覆盖安装的方法。解决步骤包括检查更新、选择对应版本并下载覆盖。
1536

被折叠的 条评论
为什么被折叠?



