Git (BitBucket): Received Trip - Package Corrupted

I am new to Git (on BitBucket) and everything is fine with him (he reads a lot of websites, articles, etc.). However, I continue to encounter this problem when my repository grows (as I add material to it / write new code), I end up going back and doing things again and again, getting the same result, I can click, click, then crash.

This is a PHP / codeigniter project and sits around 50mb and has a mixture of PHP / CSS / JS. I thought the files might get corrupted, but it just doesn't look like what happens with different files.

I am on Windows 10 using Git (git version 2.7.0.windows.1) as well as phpStorm IDE. I tried using both HTTPS (all changes to http.buffer, etc. Still failed with the fatal: the remote end hung up unexpectedly), then switched to SSH and now received this error (basically the same):

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'

Suffice it to say that I will completely lose how Git continues to fail when I just try to do very simple things ... I thought it would be useful to use it to speed up some things and use version control, it seems like I spend more time to develop git problems than writing actual code ...

Please, please do not post anything about http.buffer, it does nothing, and now I am using SSH ...

+4
2

bitbucket , -, . , . BitBucket .

+1

. PIA ( ), !

0

Source: https://habr.com/ru/post/1626630/


All Articles