summaryrefslogtreecommitdiffstats
path: root/EXAMPLES
diff options
context:
space:
mode:
Diffstat (limited to 'EXAMPLES')
-rw-r--r--EXAMPLES4
1 files changed, 2 insertions, 2 deletions
diff --git a/EXAMPLES b/EXAMPLES
index 22aab6c..9d05965 100644
--- a/EXAMPLES
+++ b/EXAMPLES
@@ -31,8 +31,8 @@ g.revparse('v2.5:Makefile')
g.branches # returns Git::Branch objects
g.branches.local
g.branches.remote
-g.branches[:master].commit
-g.branches['origin/master'].commit
+g.branches[:master].gcommit
+g.branches['origin/master'].gcommit
g.grep('hello') # implies HEAD
g.blob('v2.5:Makefile').grep('hello')