Instant remote git repository using ssh
These instructions assume that you can do an automatic login from a local to a remote machine using ssh keys for user $username.
Remote
cd folder/to/become/repository.git git init --bare
Local
cd folder/to/become/local/repository git init git remote add remote_name ssh://$username@remote.hostname/path/to/repository.git git pull remote_name master
…and you’re done, you’ve just gotta love git!

6. July 2010 at 01:52
Oliver Searle-Barnes » Instant remote git repository using ssh was a wonderful read. I love it, I can read this stuff forever, keep em coming!