We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8df062d commit e4d6a77Copy full SHA for e4d6a77
README.md
@@ -244,9 +244,12 @@ g.index.writable?
244
g.repo
245
g.dir
246
247
-g.log # returns a Git::Log object, which is an Enumerator of Git::Commit objects
248
-g.log(200)
249
-g.log.since('2 weeks ago')
+# log - returns a Git::Log object, which is an Enumerator of Git::Commit objects
+# default configuration returns a max of 30 commits
+g.log
250
+g.log(200) # 200 most recent commits
251
+g.log.since('2 weeks ago') # default count of commits since 2 weeks ago.
252
+g.log(200).since('2 weeks ago') # commits since 2 weeks ago, limited to 200.
253
g.log.between('v2.5', 'v2.6')
254
g.log.each {|l| puts l.sha }
255
g.gblob('v2.5:Makefile').log.since('2 weeks ago')
0 commit comments