LinuxCommandLibrary

gitk

Graphical Git repository browser

TLDR

Start gitk

$ gitk
copy
Show all branches
$ gitk --all
copy
Show specific file history
$ gitk [file.txt]
copy
Show specific range
$ gitk [v1.0..v2.0]
copy
Show since date
$ gitk --since="[2 weeks ago]"
copy

SYNOPSIS

gitk [options] [revision-range] [--] [path]

DESCRIPTION

gitk is a graphical repository browser for Git. It displays commit history in a visual graph, showing branches, merges, and commit details in a GUI window.
The interface shows the commit graph, file changes, and diff content. It supports search, filtering, and visual exploration of repository history.

PARAMETERS

REVISION-RANGE

Commits to display.
PATH
Limit to specific paths.
--all
Show all branches.
--since DATE
Show commits since date.
--until DATE
Show commits until date.
--help
Display help information.

CAVEATS

Requires Tcl/Tk. Interface is dated. May not be installed by default.

HISTORY

gitk was written by Paul Mackerras and is one of the original Git GUI tools, providing visual history browsing since Git's early days.

SEE ALSO

git-gui(1), tig(1), git-log(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community