Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Gemfile
Gemfile.lock
README.textile
command_runner.rb
command_runner_test.rb
file.txt
main.rb
pre-commit

README.textile

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 https://github.com/jeremyf/git-demo.git
    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.