gpt4 book ai didi

git - RPC失败; HTTP 400 curl 22 请求的 URL 返回错误 : 400 Bad Request

转载 作者:行者123 更新时间:2023-12-05 07:05:26 34 4
gpt4 key购买 nike

我正在尝试将我的代码从旧存储库推送到新存储库,因为我的旧存储库似乎以某种方式损坏了

出现以下错误:

Counting objects: 19815, done.
Compressing objects: 100% (5264/5264), done.
Writing objects: 100% (19815/19815), 44.91 MiB | 134.87 MiB/s, done.
Total 19815 (delta 14641), reused 19405 (delta 14283)
error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 Bad Request
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

我尝试了 git config http.postBuffer 524288000 但它没有帮助我什至尝试做 git push --force origingit push --all 但我收到同样的错误

最佳答案

我遇到了同样的错误。我的任务是从一台服务器移动到另一台服务器(TFSAzure),所有存储库,除了一个,都可以使用 THIS 轻松移动。程序。一个存储库在尝试进行 PUSH 时抛出了这样的错误。这个存储库中大约有 15 个分支。我决定一次转移一个分支,使用 git push url://to/new/repository.git branch-to-move:new-branch-name。当我将这个选项应用于 ma​​ster 分支时,我得到了同样的错误。然后我转移了所有其他分支(它们没有问题)。之后,ma​​ster 分支顺利迁移。

关于git - RPC失败; HTTP 400 curl 22 请求的 URL 返回错误 : 400 Bad Request,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62753648/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com