Generates the README for git-run.
$ git clone git@gist.github.com:cd37a464bded117bfce0.git git-run_guide
$ git clone git@gist.github.com:c4bef77ec0ebf1f2639f.git git-run_guide/examples
$ cd git-run_guide/examples
$ guidedown ../guide.md
git run
runs commands in git revisions
Install git run through Rubygems:
$ gem install git-run
After installing, you'll have the git run
subcommand for git
:
$ git run
Usage: git run [options] <revision> <command>
-h, --help Show this message
Time to try it out. Let's say you have passing test:
$ ruby test.rb
.....
You want to know if the test was passing in ealier revision, so you use git run
to quickly switch to the revision and run the test:
$ git run ad1211 ruby test.rb
...FF
Now you know.