Makefile: add a target which will abort compilation with ancient shells
[git/dscho.git] / Documentation / gitk.txt
blob6e827cd11c6d464e1369bf1ca23af0dd53b9be32
1 gitk(1)
2 =======
4 NAME
5 ----
6 gitk - The git repository browser
8 SYNOPSIS
9 --------
10 'gitk' [<option>...] [<revs>] [--] [<path>...]
12 DESCRIPTION
13 -----------
14 Displays changes in a repository or a selected set of commits. This includes
15 visualizing the commit graph, showing information related to each commit, and
16 the files in the trees of each revision.
18 Historically, gitk was the first repository browser. It's written in tcl/tk
19 and started off in a separate repository but was later merged into the main
20 git repository.
22 OPTIONS
23 -------
24 To control which revisions to shown, the command takes options applicable to
25 the 'git-rev-list' command (see linkgit:git-rev-list[1]).
26 This manual page describes only the most
27 frequently used options.
29 -n <number>::
30 --max-count=<number>::
32         Limits the number of commits to show.
34 --since=<date>::
36         Show commits more recent than a specific date.
38 --until=<date>::
40         Show commits older than a specific date.
42 --all::
44         Show all branches.
46 --merge::
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.
52 <revs>::
54         Limit the revisions to show. This can be either a single revision
55         meaning show from the given revision and back, or it can be a range in
56         the form "'<from>'..'<to>'" to show all revisions between '<from>' and
57         back to '<to>'. Note, more advanced revision selection can be applied.
58         For a more complete list of ways to spell object names, see
59         "SPECIFYING REVISIONS" section in linkgit:git-rev-parse[1].
61 <path>...::
63         Limit commits to the ones touching files in the given paths. Note, to
64         avoid ambiguity wrt. revision names use "--" to separate the paths
65         from any preceding options.
67 Examples
68 --------
69 gitk v2.6.12.. include/scsi drivers/scsi::
71         Show as the changes since version 'v2.6.12' that changed any
72         file in the include/scsi or drivers/scsi subdirectories
74 gitk --since="2 weeks ago" \-- gitk::
76         Show the changes during the last two weeks to the file 'gitk'.
77         The "--" is necessary to avoid confusion with the *branch* named
78         'gitk'
80 gitk --max-count=100 --all \-- Makefile::
82         Show at most 100 changes made to the file 'Makefile'. Instead of only
83         looking for changes in the current branch look in all branches.
85 Files
86 -----
87 Gitk creates the .gitk file in your $HOME directory to store preferences
88 such as display options, font, and colors.
90 SEE ALSO
91 --------
92 'qgit(1)'::
93         A repository browser written in C++ using Qt.
95 'gitview(1)'::
96         A repository browser written in Python using Gtk. It's based on
97         'bzrk(1)' and distributed in the contrib area of the git repository.
99 'tig(1)'::
100         A minimal repository browser and git tool output highlighter written
101         in C using Ncurses.
103 Author
104 ------
105 Written by Paul Mackerras <paulus@samba.org>.
107 Documentation
108 --------------
109 Documentation by Junio C Hamano, Jonas Fonseca, and the git-list
110 <git@vger.kernel.org>.
114 Part of the linkgit:git[1] suite