I came across this post when we converted the mercury repository to git and tried to push it to GitHub. The thing turned out to be that we previously transferred the .git library folders to our repository, and folders with this name are forbidden by git . The repository seemed to work fine locally, and we even successfully clicked on CodeCommit, but GitHub is more strict on this rule and clicked on it, it will always fail with error: RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 10053 error: RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 10053
To find out if this is a problem, you can run git fsck and look for instances of The tree contains an entry with an invalid path of '.git'
The solution for us was to use the BFG Repo-Cleaner to get rid of the corrupted folders, and then we could click on GitHub without any problems.
$ bfg --delete-folders .git --delete-files .git --no-blob-protection my-repo.git
FYI, please read the BFG information page carefully before using it, because it can create a nightmare merge if used improperly.
ZorroDeLaArena
source share