gpt4 book ai didi

Git 错误 : RPC failed; result=22, HTTP 代码 = 404

转载 作者:IT王子 更新时间:2023-10-29 01:14:27 26 4
gpt4 key购买 nike

我在 OSX 上使用 SourceTree 并使用 Git 推送到 Visual Studio Online。我收到以下错误:

POST git-receive-pack (490857233 bytes)
error: RPC failed; result=22, HTTP code = 404
fatal: The remote end hung up unexpectedly
Everything up-to-date
Completed with errors, see above

我已经尝试过以下方法:

git config --global http.postBuffer 524288000

最佳答案

我刚刚遇到了一个非常相似的错误(这个答案是谷歌的最高结果)——解决方案在@Liviu Chircu 的评论中

解决方案是将 .git 放在 url 的末尾

git clone http://myURL/projectname
Cloning into 'projectname'...
error: RPC failed; result=22, HTTP code = 404
fatal: The remote end hung up unexpectedly

但是:

git clone http://myURL/projectname.git

成功了。

奇怪的是,原来没有.git的URL在两台linux机器和一台windows桌面上成功了,但是在第三台linux机器上失败了。包括 .git 使其适用于所有机器。

关于Git 错误 : RPC failed; result=22, HTTP 代码 = 404,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32533379/

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