Last Updated: February 25, 2016
·
1.979K
· r4vi

Speed up pushing to Github

ssh -N git@github.com &

In your shell to keep a persistent connection to Github open in the background so every time you push it doesn't need to go through they key exchange handshake

3 Responses
Add your response

Interesting. Does it work only with github, or it can be used with any git server, e.g. bitbucket?

over 1 year ago ·

@rabovik it'll work with anything that uses ssh as a transport for git, I think bitbucket would work fine

over 1 year ago ·

didn't cause an apparent speed increase for me, am I doing it wrong?

over 1 year ago ·