1GITK(1) Git Manual GITK(1)
2
3
4
6 gitk - The git repository browser
7
9 gitk [<option>...] [<revs>] [--] [<path>...]
10
12 Displays changes in a repository or a selected set of commits. This
13 includes visualizing the commit graph, showing information related to
14 each commit, and the files in the trees of each revision.
15
16 Historically, gitk was the first repository browser. It’s written in
17 tcl/tk and started off in a separate repository but was later merged
18 into the main git repository.
19
21 To control which revisions to show, the command takes options
22 applicable to the git rev-list command (see git-rev-list(1)). This
23 manual page describes only the most frequently used options.
24
25 -n <number>, --max-count=<number>
26 Limits the number of commits to show.
27
28 --since=<date>
29 Show commits more recent than a specific date.
30
31 --until=<date>
32 Show commits older than a specific date.
33
34 --all
35 Show all branches.
36
37 --merge
38 After an attempt to merge stops with conflicts, show the commits on
39 the history between two branches (i.e. the HEAD and the MERGE_HEAD)
40 that modify the conflicted files and do not exist on all the heads
41 being merged.
42
43 --argscmd=<command>
44 Command to be run each time gitk has to determine the list of
45 <revs> to show. The command is expected to print on its standard
46 output a list of additional revs to be shown, one per line. Use
47 this instead of explicitly specifying <revs> if the set of commits
48 to show may vary between refreshes.
49
50 --select-commit=<ref>
51 Automatically select the specified commit after loading the graph.
52 Default behavior is equivalent to specifying --select-commit=HEAD.
53
54 <revs>
55 Limit the revisions to show. This can be either a single revision
56 meaning show from the given revision and back, or it can be a range
57 in the form "<from>..<to>" to show all revisions between <from> and
58 back to <to>. Note, more advanced revision selection can be
59 applied. For a more complete list of ways to spell object names,
60 see "SPECIFYING REVISIONS" section in git-rev-parse(1).
61
62 <path>...
63 Limit commits to the ones touching files in the given paths. Note,
64 to avoid ambiguity with respect to revision names use "--" to
65 separate the paths from any preceding options.
66
68 gitk v2.6.12.. include/scsi drivers/scsi
69 Show the changes since version v2.6.12 that changed any file in the
70 include/scsi or drivers/scsi subdirectories
71
72 gitk --since="2 weeks ago" -- gitk
73 Show the changes during the last two weeks to the file gitk. The
74 "--" is necessary to avoid confusion with the branch named gitk
75
76 gitk --max-count=100 --all -- Makefile
77 Show at most 100 changes made to the file Makefile. Instead of only
78 looking for changes in the current branch look in all branches.
79
81 Gitk creates the .gitk file in your $HOME directory to store
82 preferences such as display options, font, and colors.
83
85 qgit(1)
86 A repository browser written in C++ using Qt.
87
88 gitview(1)
89 A repository browser written in Python using Gtk. It’s based on
90 bzrk(1) and distributed in the contrib area of the git repository.
91
92 tig(1)
93 A minimal repository browser and git tool output highlighter
94 written in C using Ncurses.
95
97 Written by Paul Mackerras <paulus@samba.org[1]>.
98
100 Documentation by Junio C Hamano, Jonas Fonseca, and the git-list
101 <git@vger.kernel.org[2]>.
102
104 Part of the git(1) suite
105
107 1. paulus@samba.org
108 mailto:paulus@samba.org
109
110 2. git@vger.kernel.org
111 mailto:git@vger.kernel.org
112
113
114
115Git 1.7.1 08/16/2017 GITK(1)