summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README13
1 files changed, 13 insertions, 0 deletions
diff --git a/README b/README
index 624707f..36fcba9 100644
--- a/README
+++ b/README
@@ -55,6 +55,19 @@ Here are the operations that need read permission only.
g.gblob(treeish)
g.gcommit(treeish)
+
+ commit = g.gcommit('1cc8667014381')
+ commit.gtree
+ commit.parent.sha
+ commit.parents.size
+ commit.author.name
+ commit.author.email
+ commit.author.date.strftime("%m-%d-%y")
+ commit.committer.name
+ commit.date.strftime("%m-%d-%y")
+ commit.message
+
+
g.revparse('v2.5:Makefile')
g.branches # returns Git::Branch objects