问题描述

运用git的时分发现一向提示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