问题
MacMini $ git push origin master
Counting objects: 1916, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (1751/1751), done.
Read from remote host codebasehq.com: Operation timed out
fatal: The remote end hung up unexpectedly
error: pack-objects died of signal 13
error: pack-objects died with strange error
error: failed to push some refs to 'git@codebasehq.com:xx/xx/xx.git'
回答1:
Contemporary UTM firewalls can mess with outgoing data if they falsely identify traces of malware, packed data, or insecure commands in the stream... and these false alarms happen pretty frequently. Such security devices on your network or the destination side could explain why some projects push up okay and others are dropping the connection.
If that's the case, you may avoid the trigger if you use a different protocol for this connection, e.g. ssh:// or https:// instead of git://.
回答2:
Looks like you have a bad network connection. Can you access codebasehq.com, especially with the network protocol you use. Have you a correct proxy server configuration? Can you pull other projects?
来源:https://stackoverflow.com/questions/3140715/why-does-git-push-fails-with-operation-timed-out