Firstly, Bitbucket is amazing, so thanks very much.
I have been using it without issue for a while, but recently (since yesterday morning) I have reliably come up against this error whenever I try to push.
Counting objects: 639, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (628/628), done.
Read from remote host bitbucket.org: Connection reset by peer
fatal: sha1 file '<stdout>' write error: Invalid argument
error: pack-objects died with strange error
error: failed to push some refs to 'firstname.lastname@example.org:xxxxxxxxx/yyy.git'
(I have blanked out the repository name)
I can do 3 pushes in a row that end in this error, then the 4th will push successfully (as an example of how it sometimes works and sometimes doesn't).
I am not really sure what is causing it, and would appreciate any help you can provide.