I’ve got my website set up so that when I’m done working locally and testing etc, I can push changes live like so:
git push khwp
This works great. And my local files are in a Dropbox folder so I can work on them on my laptop too. On the latter however, the aforementioned command does not work. I can add and commit files just fine, but for some reason the push command does not work.
How can I fix this?
I should probably add that I’m new to git, but I guess you figured that out…
EDIT: this is the error I’m getting :
/bin/bash: line 0: exec: socat: not found
ssh_exchange_identification: Connection closed by remote host
fatal: The remote end hung up unexpectedly
No corporate firewall, no “push url”. The keys are configured without a problem (I can ssh into the server without password) and username and email are set too.
When I look around at Google searching for
socat git, I find thatsocatis used in order to tunnel thegit://protocol throughhttps. The referenced post recommends to create agitproxyscript and use this script as global proxy script:I assume you somehow configured Git to use
socatand it’s simply not installed on your laptop computer.