3 ms·
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 li
by joeblau 13y ago
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?
- sayit 13y agogitolite
- lucian1900 13y agoWhile not as nice as hg serve, there's git daemon.
- shantanubala 13y agoAny local machine may be problematic (if you have a dynamic IP), but git is really easy to host on a VPS or any box with a static IP -- just make sure you have everyone's SSH keys authorized (not on root unless you trust everyone with that), and use the following: $ git remote add origin2 user@your-ip:/path/to/repo.git To create repo.git: $ mkdir repo.git $ cd repo.git $ git --bare init
- deleted 13y ago[deleted]
- brown9-2 13y agoIf your team is small enough, why not use bitbucket as a remote as a backup option?
- brokenparser 13y agoEmail. No 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.