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