Last Updated: February 25, 2016
·
395
· dmitriybudnik

Simple git clone your Rails app

Unsafe as exposes your repository to 0.0.0.0

From your app's root folder:

ln -s .git ./public/.git
git update-server-info
rails s

From another pc:

git clone http://laptop-ip-address:3000/.git
  • don't forget to rm ./public/.git when you are done *