GIT 0.99.9j aka 1.0rc3
[git/jrn.git] / Documentation / git-log.txt
blobe995d1b74bdbcedf3cc656ee06e939ec39a87795
1 git-log(1)
2 ==========
4 NAME
5 ----
6 git-log - Show commit logs
9 SYNOPSIS
10 --------
11 'git-log' <option>...
13 DESCRIPTION
14 -----------
15 Shows the commit logs.  This command internally invokes
16 'git-rev-list', and the command line options are passed to that
17 command.
19 This manual page describes only the most frequently used options.
21 OPTIONS
22 -------
23 --pretty=<format>::
24         Controls the way the commit log is formatted.
26 --max-count=<n>::
27         Limits the number of commits to show.
29 <since>..<until>::
30         Show only commits between the named two commits.
33 Examples
34 --------
35 git log --no-merges::
37         Show the whole commit history, but skip any merges
39 git log v2.6.12.. include/scsi drivers/scsi::
41         Show all commits since version 'v2.6.12' that changed any file
42         in the include/scsi or drivers/scsi subdirectories
44 git log --since="2 weeks ago" -- gitk::
46         Show the changes during the last two weeks to the file 'gitk'.
47         The "--" is necessary to avoid confusion with the *branch* named
48         'gitk'
51 Author
52 ------
53 Written by Linus Torvalds <torvalds@osdl.org>
55 Documentation
56 --------------
57 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
59 GIT
60 ---
61 Part of the gitlink:git[7] suite