Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.textile
Octocat-spinner-32 command_runner.rb
Octocat-spinner-32 command_runner_test.rb
Octocat-spinner-32 file.txt
Octocat-spinner-32 main.rb
Octocat-spinner-32 pre-commit

A simple scripted demonstration of Git

This script runs through a very simple demonstration of a local git repository.

What to do

  1. Do you have ruby 1.8.7 or higher installed?
    1. Yes. Goto next item.
    2. No. You’ll need to do that.
  2. Download and extract the source
    1. git clone
    2. or click the Zip button up above and extract to the downloaded directory
  3. Make sure you have a ~/Desktop folder defined
  4. In the downloaded directory, type bundle install; bundle exec ruby main.rb
  5. Read what is happening and be ready to [Press Enter to continue]

For Windows?

You’ll need Cgwyn and I make no promises that anything will work.

More Information about Git

For more information see the book

Something went wrong with that request. Please try again.