Read from remote host github.com: Connection reset by peer
client_loop: send disconnect: Connection reset by peer
fatal: sha1 file '<stdout>' write error: Broken pipe
send-pack: unexpected disconnect while reading sideband packet fatal: the remote end hung up unexpectedl
1.是文件太大尝试分批推送,第一次分批的部分可以之后再推送又不行了;
2.git config --global http.postBuffer 524288000
配置github最大推送缓冲区大小,还是不行;
3.已经是很小的文件了push还是报错broken,push到gitee上正常,
其中使用:
git reset --soft HEAD~1 回退提交,但保留更改
git add .
git reset xx;
网路不稳定,更换网络,使用手机热点连接网络可以正常推送了。。。