]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/gitk.txt
Merge branch 'js/mingw-rename-fix' into maint
[thirdparty/git.git] / Documentation / gitk.txt
CommitLineData
7fc9d69f
JH
1gitk(1)
2=======
3
4NAME
5----
c3f0baac 6gitk - The git repository browser
7fc9d69f
JH
7
8SYNOPSIS
9--------
5164b6cd 10'gitk' [<option>...] [<revs>] [--] [<path>...]
7fc9d69f
JH
11
12DESCRIPTION
13-----------
5164b6cd
JF
14Displays changes in a repository or a selected set of commits. This includes
15visualizing the commit graph, showing information related to each commit, and
16the files in the trees of each revision.
7fc9d69f 17
5164b6cd
JF
18Historically, gitk was the first repository browser. It's written in tcl/tk
19and started off in a separate repository but was later merged into the main
20git repository.
7fc9d69f
JH
21
22OPTIONS
23-------
5164b6cd 24To control which revisions to shown, the command takes options applicable to
ba020ef5 25the 'git-rev-list' command (see linkgit:git-rev-list[1]).
483bc4f0 26This manual page describes only the most
5164b6cd
JF
27frequently used options.
28
3240240f
SB
29-n <number>::
30--max-count=<number>::
5164b6cd
JF
31
32 Limits the number of commits to show.
33
34--since=<date>::
35
36 Show commits more recent than a specific date.
37
38--until=<date>::
39
40 Show commits older than a specific date.
7fc9d69f 41
44d2775a
JF
42--all::
43
44 Show all branches.
45
9f1915d3
RQ
46--merge::
47
48 After an attempt to merge stops with conflicts, show the commits on
49 the history between two branches (i.e. the HEAD and the MERGE_HEAD)
50 that modify the conflicted files.
51
29f28151
YD
52--argscmd=<command>::
53 Command to be run each time gitk has to determine the list of
54 <revs> to show. The command is expected to print on its standard
55 output a list of additional revs to be shown, one per line.
56 Use this instead of explicitly specifying <revs> if the set of
57 commits to show may vary between refreshes.
58
5164b6cd 59<revs>::
7fc9d69f 60
5164b6cd
JF
61 Limit the revisions to show. This can be either a single revision
62 meaning show from the given revision and back, or it can be a range in
63 the form "'<from>'..'<to>'" to show all revisions between '<from>' and
64 back to '<to>'. Note, more advanced revision selection can be applied.
41a5564e 65 For a more complete list of ways to spell object names, see
5162e697 66 "SPECIFYING REVISIONS" section in linkgit:git-rev-parse[1].
5164b6cd 67
f448e24e 68<path>...::
5164b6cd
JF
69
70 Limit commits to the ones touching files in the given paths. Note, to
71 avoid ambiguity wrt. revision names use "--" to separate the paths
3dff5379 72 from any preceding options.
7fc9d69f 73
bd663611
LT
74Examples
75--------
76gitk v2.6.12.. include/scsi drivers/scsi::
77
78 Show as the changes since version 'v2.6.12' that changed any
79 file in the include/scsi or drivers/scsi subdirectories
80
e994004f 81gitk --since="2 weeks ago" \-- gitk::
bd663611
LT
82
83 Show the changes during the last two weeks to the file 'gitk'.
84 The "--" is necessary to avoid confusion with the *branch* named
85 'gitk'
86
1d5bf7fc 87gitk --max-count=100 --all \-- Makefile::
44d2775a
JF
88
89 Show at most 100 changes made to the file 'Makefile'. Instead of only
90 looking for changes in the current branch look in all branches.
91
e8095078
CC
92Files
93-----
94Gitk creates the .gitk file in your $HOME directory to store preferences
95such as display options, font, and colors.
96
56ae8df5 97SEE ALSO
5164b6cd
JF
98--------
99'qgit(1)'::
100 A repository browser written in C++ using Qt.
101
102'gitview(1)'::
103 A repository browser written in Python using Gtk. It's based on
104 'bzrk(1)' and distributed in the contrib area of the git repository.
105
106'tig(1)'::
107 A minimal repository browser and git tool output highlighter written
108 in C using Ncurses.
109
7fc9d69f
JH
110Author
111------
5164b6cd 112Written by Paul Mackerras <paulus@samba.org>.
7fc9d69f
JH
113
114Documentation
115--------------
5164b6cd
JF
116Documentation by Junio C Hamano, Jonas Fonseca, and the git-list
117<git@vger.kernel.org>.
7fc9d69f
JH
118
119GIT
120---
9e1f0a85 121Part of the linkgit:git[1] suite