lefthook icon indicating copy to clipboard operation
lefthook copied to clipboard

Push issue with SSH

Open wmckeever opened this issue 1 year ago • 1 comments

:wrench: Summary

I am trying to push to my repository from MacOS. Whenever I do I get the same ssh error

git push -f

The Results are all the same, I keep getting this error: client_loop: send disconnect: Broken pipe send-pack: unexpected disconnect while reading sideband packet fatal: the remote end hung up unexpectedly

To reproduce it just type gt push or git push -f

What I expected to see was that the changes were added to my repository

client_loop: send disconnect: Broken pipe send-pack: unexpected disconnect while reading sideband packet fatal: the remote end hung up unexpectedly

Possible Solution

It says it has to do with my ~/.ssh/config file but I modified that to account for the timeout and nothing.

wmckeever avatar Jun 14 '23 17:06 wmckeever

Hey! Have you tried LEFTHOOK=0 git push? Does pushing work without lefthook?

mrexox avatar Jun 15 '23 07:06 mrexox