Hexo -d
部署的时候发现一直报错HTTP/2 stream 1 was not closed cleanly before end of the underlying stream
。 通过查阅相关文章并排查发现,是git默认使用的通信协议出现了问题,可以通过将默认通信协议修改为http/1.1
来解决该问题。
在终端中使用以下命令更改默认通信协议即可。
git config --global http.version HTTP/1.1
Hexo -d
部署的时候发现一直报错HTTP/2 stream 1 was not closed cleanly before end of the underlying stream
。 通过查阅相关文章并排查发现,是git默认使用的通信协议出现了问题,可以通过将默认通信协议修改为http/1.1
来解决该问题。
在终端中使用以下命令更改默认通信协议即可。
git config --global http.version HTTP/1.1