当我想要推送一些文件时,出现以下错误。只有一些文件看起来像这样。
$ git push
Enumerating objects: 37, done.
Counting objects: 100% (37/37), done.
Delta compression using up to 8 threads
Compressing objects: 100% (24/24), done.
Writing objects: 100% (26/26), 7.62 KiB | 1.52 MiB/s, done.
Total 26 (delta 11), reused 0 (delta 0), pack-reused 0
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date
以下命令没有帮助。
git config --global http.postBuffer 157286400
这也没有帮助。
git gc
git fsck
最佳答案
I do not know how to check. I do not access to server.
这是实际问题,因为服务器主动出错。
如果所述服务器是,例如,github.com,您将有权访问 githubstatus.com
为了检查发生了什么。
但如果它是本地 Git 存储库托管服务(self-managed GitLab 或 Gitea ),则您需要联系管理员并报告此事件。
OP ali m添加 the comments :
We use Azure DevOps.
确实:status.dev.azure.com/_history
显示:
"Availability Degradation in South India. "
The issue is now fully mitigated. Our engineers will be investigating this further to learn from and reduce the risk of potential recurrences.
We apologize for the impact this had on our customers.
所以再试一次,看看问题是否仍然存在。
关于git 推送错误 : RPC failed; HTTP 500 curl 22 The requested URL returned error: 500,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70508936/