SourceTree部署项目推送报错 fatal: the remote end hung up unexpectedly

报错原因

这个报错的原因是因为 推送的文件过大.

解决办法

打开 Git bash 输入 git config --global http.postBuffer 157286400
回车键后再次推送

也可以直接使用sourcetree的命令行

在sourcetree的右上角,点击 ‘命令行’ 打开以后,输入上面的命令,回车后再次推送

原创文章 7 获赞 7 访问量 998

猜你喜欢

转载自blog.csdn.net/The_My_World/article/details/103596754