Skip to content

Commit e3d0951

Browse files
author
scott Chacon
committed
added some information about gitr to the README file
1 parent 6bbead0 commit e3d0951

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ but eventually I'll replace that with either C bindings
1919
to libgit or libgit-thin, or I'll write pure ruby
2020
handlers for at least some of the Git stuff.
2121

22+
Many of the simple read-only operations have already been
23+
moved to pure ruby.
24+
2225
= Major Objects
2326

2427
Git::Base - this is the object returned from a Git.open or Git.clone.
@@ -47,6 +50,21 @@ your log query, which can be constructed through methods on the Git::Log object,
4750

4851
@git.log(20).object("HEAD^").since("2 weeks ago").between('v2.6', 'v2.7').each { |commit| [block] }
4952

53+
= Gitr
54+
55+
I have included a command line pure-ruby git client called 'gitr'
56+
57+
The following commands are available - they all will run in pure ruby, without forking out the the git binary.
58+
In fact, they can be run on a machine without git compiled on it.
59+
60+
commands: log
61+
log-shas
62+
cat-file (treeish)
63+
rev-parse (treeish)
64+
branches
65+
config
66+
ls-tree (tree)
67+
5068

5169
= Examples
5270

0 commit comments

Comments
 (0)