]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/gitk.txt
documentation: move git(7) to git(1)
[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
5162e697 25the linkgit:git-rev-list[1] command. This manual page describes only the most
5164b6cd
JF
26frequently used options.
27
28-n <number>, --max-count=<number>::
29
30 Limits the number of commits to show.
31
32--since=<date>::
33
34 Show commits more recent than a specific date.
35
36--until=<date>::
37
38 Show commits older than a specific date.
7fc9d69f 39
44d2775a
JF
40--all::
41
42 Show all branches.
43
9f1915d3
RQ
44--merge::
45
46 After an attempt to merge stops with conflicts, show the commits on
47 the history between two branches (i.e. the HEAD and the MERGE_HEAD)
48 that modify the conflicted files.
49
5164b6cd 50<revs>::
7fc9d69f 51
5164b6cd
JF
52 Limit the revisions to show. This can be either a single revision
53 meaning show from the given revision and back, or it can be a range in
54 the form "'<from>'..'<to>'" to show all revisions between '<from>' and
55 back to '<to>'. Note, more advanced revision selection can be applied.
41a5564e 56 For a more complete list of ways to spell object names, see
5162e697 57 "SPECIFYING REVISIONS" section in linkgit:git-rev-parse[1].
5164b6cd
JF
58
59<path>::
60
61 Limit commits to the ones touching files in the given paths. Note, to
62 avoid ambiguity wrt. revision names use "--" to separate the paths
3dff5379 63 from any preceding options.
7fc9d69f 64
bd663611
LT
65Examples
66--------
67gitk v2.6.12.. include/scsi drivers/scsi::
68
69 Show as the changes since version 'v2.6.12' that changed any
70 file in the include/scsi or drivers/scsi subdirectories
71
e994004f 72gitk --since="2 weeks ago" \-- gitk::
bd663611
LT
73
74 Show the changes during the last two weeks to the file 'gitk'.
75 The "--" is necessary to avoid confusion with the *branch* named
76 'gitk'
77
1d5bf7fc 78gitk --max-count=100 --all \-- Makefile::
44d2775a
JF
79
80 Show at most 100 changes made to the file 'Makefile'. Instead of only
81 looking for changes in the current branch look in all branches.
82
e8095078
CC
83Files
84-----
85Gitk creates the .gitk file in your $HOME directory to store preferences
86such as display options, font, and colors.
87
56ae8df5 88SEE ALSO
5164b6cd
JF
89--------
90'qgit(1)'::
91 A repository browser written in C++ using Qt.
92
93'gitview(1)'::
94 A repository browser written in Python using Gtk. It's based on
95 'bzrk(1)' and distributed in the contrib area of the git repository.
96
97'tig(1)'::
98 A minimal repository browser and git tool output highlighter written
99 in C using Ncurses.
100
7fc9d69f
JH
101Author
102------
5164b6cd 103Written by Paul Mackerras <paulus@samba.org>.
7fc9d69f
JH
104
105Documentation
106--------------
5164b6cd
JF
107Documentation by Junio C Hamano, Jonas Fonseca, and the git-list
108<git@vger.kernel.org>.
7fc9d69f
JH
109
110GIT
111---
9e1f0a85 112Part of the linkgit:git[1] suite