blob: 14bcf91f4060be9168f2f80126ca37340796fe04 [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231gitk(1)
2=======
3
4NAME
5----
Junio C Hamano7c73c662007-01-19 00:37:506gitk - The git repository browser
Junio C Hamano1a4e8412005-12-27 08:17:237
8SYNOPSIS
9--------
Junio C Hamano6b2cee12006-08-26 08:43:3110'gitk' [<option>...] [<revs>] [--] [<path>...]
Junio C Hamano1a4e8412005-12-27 08:17:2311
12DESCRIPTION
13-----------
Junio C Hamano6b2cee12006-08-26 08:43:3114Displays 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.
Junio C Hamano1a4e8412005-12-27 08:17:2317
Junio C Hamano6b2cee12006-08-26 08:43:3118Historically, 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.
Junio C Hamano1a4e8412005-12-27 08:17:2321
22OPTIONS
23-------
Junio C Hamano6b2cee12006-08-26 08:43:3124To control which revisions to shown, the command takes options applicable to
Junio C Hamano35738e82008-01-07 07:55:4625the linkgit:git-rev-list[1] command. This manual page describes only the most
Junio C Hamano6b2cee12006-08-26 08:43:3126frequently used options.
Junio C Hamano1a4e8412005-12-27 08:17:2327
Junio C Hamano6b2cee12006-08-26 08:43:3128-n <number>, --max-count=<number>::
Junio C Hamano1a4e8412005-12-27 08:17:2329
Junio C Hamano6b2cee12006-08-26 08:43:3130Limits the number of commits to show.
31
32--since=<date>::
33
34Show commits more recent than a specific date.
35
36--until=<date>::
37
38Show commits older than a specific date.
39
Junio C Hamanod5784132006-09-20 21:29:2740--all::
41
42Show all branches.
43
Junio C Hamano7d575a52008-04-30 08:45:2744--merge::
45
46After an attempt to merge stops with conflicts, show the commits on
47the history between two branches (i.e. the HEAD and the MERGE_HEAD)
48that modify the conflicted files.
49
Junio C Hamano6b2cee12006-08-26 08:43:3150<revs>::
51
52Limit the revisions to show. This can be either a single revision
53meaning show from the given revision and back, or it can be a range in
54the form "'<from>'..'<to>'" to show all revisions between '<from>' and
55back to '<to>'. Note, more advanced revision selection can be applied.
Junio C Hamano2d47c622007-01-18 06:24:1056For a more complete list of ways to spell object names, see
Junio C Hamano35738e82008-01-07 07:55:4657"SPECIFYING REVISIONS" section in linkgit:git-rev-parse[1].
Junio C Hamano6b2cee12006-08-26 08:43:3158
59<path>::
60
61Limit commits to the ones touching files in the given paths. Note, to
62avoid ambiguity wrt. revision names use "--" to separate the paths
Junio C Hamanoee1e4282007-02-04 08:32:0463from any preceding options.
Junio C Hamano1a4e8412005-12-27 08:17:2364
65Examples
66--------
67gitk v2.6.12.. include/scsi drivers/scsi::
68
69Show as the changes since version 'v2.6.12' that changed any
70file in the include/scsi or drivers/scsi subdirectories
71
Junio C Hamano1bb569e2006-05-05 23:14:2572gitk --since="2 weeks ago" \-- gitk::
Junio C Hamano1a4e8412005-12-27 08:17:2373
74Show the changes during the last two weeks to the file 'gitk'.
75The "--" is necessary to avoid confusion with the *branch* named
76'gitk'
77
Junio C Hamano764a6672007-10-23 01:23:3178gitk --max-count=100 --all \-- Makefile::
Junio C Hamanod5784132006-09-20 21:29:2779
80Show at most 100 changes made to the file 'Makefile'. Instead of only
81looking for changes in the current branch look in all branches.
82
Junio C Hamano1bdd3b02008-04-13 05:33:1883Files
84-----
85Gitk creates the .gitk file in your $HOME directory to store preferences
86such as display options, font, and colors.
87
Junio C Hamano9049d912008-05-29 02:09:5088SEE ALSO
Junio C Hamano6b2cee12006-08-26 08:43:3189--------
90'qgit(1)'::
91A repository browser written in C++ using Qt.
92
93'gitview(1)'::
94A 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)'::
98A minimal repository browser and git tool output highlighter written
99in C using Ncurses.
100
Junio C Hamano1a4e8412005-12-27 08:17:23101Author
102------
Junio C Hamano6b2cee12006-08-26 08:43:31103Written by Paul Mackerras <paulus@samba.org>.
Junio C Hamano1a4e8412005-12-27 08:17:23104
105Documentation
106--------------
Junio C Hamano6b2cee12006-08-26 08:43:31107Documentation by Junio C Hamano, Jonas Fonseca, and the git-list
108<git@vger.kernel.org>.
Junio C Hamano1a4e8412005-12-27 08:17:23109
110GIT
111---
Junio C Hamanof7c042d2008-06-06 22:50:53112Part of the linkgit:git[1] suite