Does anyone know of a simple utility to host a remote on your local machine so that a small team can take advantage of git's DVCS in the event that a service like GitHub goes down?
$ git remote add origin2 user@your-ip:/path/to/repo.git
To create repo.git: $ mkdir repo.git
$ cd repo.git
$ git --bare initNo seriously, that is the simplest thing to use and punches right through any firewall, anywhere. Instead of git push, do this:
tar cvf project.tgz .git
mail -a project.tgz team@example.net
Subject: Pull request #9042
Please pull master branch from attached
git repository, it fixes all the things.
^D
The other end can extract that and add the remote pointing to the local filesystem path.Other than that, any file server will work. Apache, nginx, samba (just mount it), rsync, even *ftpd.