错误一:
fatal: Out of memory, malloc failed (tried to allocate 3194304000 bytes)
error: failed to push some refs to 'https://github./xxx.git'
解决:
桌面内存占用太大,关掉一些后就能正常push了。(比如我关掉了了Wallpaper Engine, 这个都能引发错误,脑壳疼)
还不能push的话需要设置
1git config --global pack.windowMemory 50m
错误二:10054
fatal: unable to access 'https://github.com/xxx.git/': OpenSSL SSL_read: Connection was reset, errno 10054
解决:
网络不稳定导致,pycharm终端输入命令,或在项目所在文件夹git brash here
1
2git config --global http.sslVerify "false"
错误三:443
Failed to connect to github.com port 443: Timed out
github官网可以访问,不能push
解决:
pycharm 终端:
1git config --global --unset http.proxy
【开发工具的那些故事】git问题记录(一): Failed to connect to github.com port 443: Timed out_Yangy的博客-CSDN博客
错误四:GnuTLS recv error (-54)
ubuntu下,git push 报错
GnuTLS recv error (-54): Error in the pull function.
解决:
打开终端运行:
1gedit ~/.bashrc
而后在配置文件的最下面加上这三行
1
2
3export GIT_TRACE_PACKET=1 export GIT_TRACE=1 export GIT_CURL_VERBOSE=1
而后保存退出后运行:
1source ~/.bashrc
使配置文件生效
最后
以上就是忧伤星月最近收集整理的关于git push 几点报错的解决方式的全部内容,更多相关git内容请搜索靠谱客的其他文章。
发表评论 取消回复