Skip to content

Commit dce6816

Browse files
authored
show .log example with count in README, fixes #667 (#668)
Signed-off-by: Felix Wolfsteller <felix.wolfsteller@betterplace.org>
1 parent b1799f6 commit dce6816

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ g.repo
113113
g.dir
114114

115115
g.log # returns a Git::Log object, which is an Enumerator of Git::Commit objects
116+
g.log(200)
116117
g.log.since('2 weeks ago')
117118
g.log.between('v2.5', 'v2.6')
118119
g.log.each {|l| puts l.sha }

0 commit comments

Comments
 (0)