Curl 56 HTTP/2 流 7 推送更改时出错

问题描述 投票:0回答:1

我正在尝试使用 git 将我的更改推送到 azure devops。但有错误消息显示。

PS D:\test\myProject> git push
Enumerating objects: 114, done.
Counting objects: 100% (114/114), done.
Delta compression using up to 8 threads
Compressing objects: 100% (74/74), done.
Writing objects: 100% (74/74), 78.78 KiB | 1.88 MiB/s, done.
Total 74 (delta 59), reused 0 (delta 0), pack-reused 0
error: RPC failed; curl 56 HTTP/2 stream 7 was reset
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date
PS D:\test\myProject>

我将 git 更新到最新版本。 git 版本 2.41.0windows.3

我能做什么?

git http curl azure-devops version-control
1个回答
0
投票

根据 Mikael Sandberg 的说法,我们需要清理导致问题的文件所在的缓存:

git rm --cached
git commit --amend -CHEAD
git push

参考:https://community.atlassian.com/t5/Bitbucket-questions/git-push-fails-with-quot-fatal-the-remote-end-hung-up/qaq-p/1715381

© www.soinside.com 2019 - 2024. All rights reserved.