git clone unexpected disconnect while reading sideband packet

设置以下参数即可

windows:

set GIT_TRACE_PACKET=1
set GIT_TRACE=1
set GIT_CURL_VERBOSE=1

unix:

export GIT_TRACE_PACKET=1
export GIT_TRACE=1
export GIT_CURL_VERBOSE=1

PowerShell:

$env:GIT_TRACE_PACKET=1
$env:GIT_TRACE=1
$env:GIT_CURL_VERBOSE=1

参考:javascript - Github - unexpected disconnect while reading sideband packet - Stack Overflow

你可能感兴趣的:(git,git)