This was originally posted on github, I save a backup here just in case.
- Git build-in server
git daemon –base-path=/Users/libinpan/clone-from-github –export-all
git clone git://127.0.0.1/rails…
Note: The default port git uses is 9418. Make sure that your firewall is set up to handle this.
git instaweb –httpd=webrick
- Deploy with Capistrano
set :repository, “git://127.0.0.1/rails-app”