1GITK(1)                           Git Manual                           GITK(1)
2
3
4

NAME

6       gitk - The Git repository browser
7

SYNOPSIS

9       gitk [<option>...] [<revs>] [--] [<path>...]
10
11

DESCRIPTION

13       Displays changes in a repository or a selected set of commits. This
14       includes visualizing the commit graph, showing information related to
15       each commit, and the files in the trees of each revision.
16
17       Historically, gitk was the first repository browser. It’s written in
18       tcl/tk and started off in a separate repository but was later merged
19       into the main Git repository.
20

OPTIONS

22       To control which revisions to show, the command takes options
23       applicable to the git rev-list command (see git-rev-list(1)). This
24       manual page describes only the most frequently used options.
25
26       -n <number>, --max-count=<number>
27           Limits the number of commits to show.
28
29       --since=<date>
30           Show commits more recent than a specific date.
31
32       --until=<date>
33           Show commits older than a specific date.
34
35       --all
36           Show all branches.
37
38       --merge
39           After an attempt to merge stops with conflicts, show the commits on
40           the history between two branches (i.e. the HEAD and the MERGE_HEAD)
41           that modify the conflicted files and do not exist on all the heads
42           being merged.
43
44       --argscmd=<command>
45           Command to be run each time gitk has to determine the list of
46           <revs> to show. The command is expected to print on its standard
47           output a list of additional revs to be shown, one per line. Use
48           this instead of explicitly specifying <revs> if the set of commits
49           to show may vary between refreshes.
50
51       --select-commit=<ref>
52           Automatically select the specified commit after loading the graph.
53           Default behavior is equivalent to specifying --select-commit=HEAD.
54
55       <revs>
56           Limit the revisions to show. This can be either a single revision
57           meaning show from the given revision and back, or it can be a range
58           in the form "<from>..<to>" to show all revisions between <from> and
59           back to <to>. Note, more advanced revision selection can be
60           applied. For a more complete list of ways to spell object names,
61           see gitrevisions(7).
62
63       <path>...
64           Limit commits to the ones touching files in the given paths. Note,
65           to avoid ambiguity with respect to revision names use "--" to
66           separate the paths from any preceding options.
67

EXAMPLES

69       gitk v2.6.12.. include/scsi drivers/scsi
70           Show the changes since version v2.6.12 that changed any file in the
71           include/scsi or drivers/scsi subdirectories
72
73       gitk --since="2 weeks ago" -- gitk
74           Show the changes during the last two weeks to the file gitk. The
75           "--" is necessary to avoid confusion with the branch named gitk
76
77       gitk --max-count=100 --all -- Makefile
78           Show at most 100 changes made to the file Makefile. Instead of only
79           looking for changes in the current branch look in all branches.
80

FILES

82       Gitk creates the .gitk file in your $HOME directory to store
83       preferences such as display options, font, and colors.
84

SEE ALSO

86       qgit(1)
87           A repository browser written in C++ using Qt.
88
89       gitview(1)
90           A repository browser written in Python using Gtk. It’s based on
91           bzrk(1) and distributed in the contrib area of the Git repository.
92
93       tig(1)
94           A minimal repository browser and Git tool output highlighter
95           written in C using Ncurses.
96

GIT

98       Part of the git(1) suite
99
100
101
102Git 1.8.3.1                       11/19/2018                           GITK(1)
Impressum