gpt4 book ai didi

php - Git(比特桶): Received disconnect - Packet corrupt

转载 作者:可可西里 更新时间:2023-10-31 23:38:12 25 4
gpt4 key购买 nike

我是 Git 的新手(在 BitBucket 上)并且使用起来还不错(大量阅读了许多网站、文章等)。然而,一旦我的存储库增长(当我向它添加内容/编写新代码)时,我就会一直遇到这个问题,我最终会恢复并一遍又一遍地做事情并得到相同的结果,可以推送,可以推送,然后失败。

这是一个 PHP/codeigniter 项目,大约 50mb,混合了 PHP/CSS/JS。我在想文件可能已损坏,但这似乎并没有加起来,因为它不断发生在不同的文件上。

我在 Windows 10 上使用 Git(git 版本 2.7.0.windows.1)和 phpStorm IDE。我已经尝试使用两个 HTTPS(所有 http.buffer 更改等仍然失败并出现 fatal error :远程端意外挂断),然后移至 SSH,现在出现此错误(基本上是同一件事):

Pushing to git@bitbucket.org:(username)/(repo).git
Counting objects: 1855, done.
Delta compression using up to 16 threads.
Compressing objects: 100% (1660/1660), done.
Received disconnect from xxx.xxx.xxx.xxx: 2: Packet corrupts
Disconnected from xxx.xxx.xxx.xxx
fatal: The remote end hung up unexpectedly
fatal: sha1 file '<stdout>' write error: Broken pipe
error: failed to push some refs to 'git@bitbucket.org:(username)/(repo).git'

可以这么说,当我只想做非常基本的事情时,我完全不知道 Git 是如何让我失败的……我认为用它来加快一些事情并使用版本会很有帮助控制,似乎我花在解决 Git 问题上的时间比写实际代码还多...

拜托,拜托,请不要发布任何关于 http.buffer 的信息,它什么都不做,而且我现在正在使用 SSH...

最佳答案

我联系了 bitbucket 支持,结果发现他们遇到了来自某些 ISP 的路由问题,这是导致问题的原因。我拴在我的移动互联网上,它推得很好。 BitBucket 正在调查。

关于php - Git(比特桶): Received disconnect - Packet corrupt,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35099528/

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