Git push commit error the remote end hung up unexpected

Time:2020-11-19
Cause of error

The connection with the remote service was interrupted, but the check found that the origin is still there. It may be that the file is too large and the cache is not enough. Increase the cache size

Solution

Project directory. Git config

Add the following code at the end

[http]
	postBuffer = 524288000

If the problem is still there, we should consider whether the network is too slow and increase the network delay

git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999