Is there a way to tell git to push the changes to the github remote server a little faster. It takes a longer time (~8-10 secs) even for minor changes on few files in a bare minimal rails application.
Try creating a directory ~/.ssh/control
and then adding this to your ~/.ssh/config
:
Host github.com
ControlMaster auto
ControlPath ~/.ssh/control/%r@%h:%p
ControlPersist 3600
This will cause ssh to reuse existing connections to github for one hour, which will eliminate the time taken to reauthenticate during that time.
If you are using http/https protocol, you should try ssh protocol.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With