推入时发生GIT错误:错误:RPC失败;结果= 7,HTTP代码= 401 [英] GIT error while push: error: RPC failed; result=7, HTTP code = 401

查看:100
本文介绍了推入时发生GIT错误:错误:RPC失败;结果= 7,HTTP代码= 401的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试将一些提交推送到远程服务器时,我得到了这个响应(等待大约5分钟后):

  git.exe push --progressoriginevents_devel:events_devel 

计数对象:195,完成。
使用多达2个线程的增量压缩。
压缩对象:100%(41/41),完成。
写作对象:100%(47/47),475.15 KiB | 0字节/秒,完成。
总计47(delta 32),重用0(delta 0)
致命:远程端意外挂断
致命:远程端意外挂断
错误:RPC失败;结果= 7,HTTP代码= 401
一切都是最新的

这: https://stackoverflow.com/a/6849424 ,但结果相同。
远程服务器不是GitHub ...它的公司服务器。
Pulling works should be。

解决方案

稳定的Windows版Git存在一个问题(1.9.5)使用http和Windows或基本身份验证进行更新。



尝试升级到2.4.6版本的候选版本。您可以在此处找到它。



来源

While I trying to push some commits to remote server, I get this response (after waiting about 5 minutes):

git.exe push --progress "origin" events_devel:events_devel

Counting objects: 195, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (41/41), done.
Writing objects: 100% (47/47), 475.15 KiB | 0 bytes/s, done.
Total 47 (delta 32), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
error: RPC failed; result=7, HTTP code = 401
Everything up-to-date

I was try this: https://stackoverflow.com/a/6849424, but same result. Remote server not GitHub... its the corporate server. Pulling works as it should.

解决方案

There is a problem with the stable Git for Windows (1.9.5) for updating using http and windows or basic auth.

Try to upgrade to the 2.4.6-release candidate version. You can find it here

Source

这篇关于推入时发生GIT错误:错误:RPC失败;结果= 7,HTTP代码= 401的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆