Skip to content

Commit d9ad301

Browse files
committed
show .log example with count in README, fixes ruby-git#667
1 parent dd5a24d commit d9ad301

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)