RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Using ruby and git to share project code with temporary team member

Did you know we can share our project by simply serving our .git folder? It is just 4 commands in total. - Read Full Article

# for sharer
cd your-awesome-project #move to the project you want to share
ruby -run -e httpd .git -p 8080 # serve you projects git folder over http on port 8080
git update-server-info

# for receiver
git clone <local-ip>:8080 ./your-awesome-project-cloned

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in