问题
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位) - 下载完成后会覆盖原先的版本