gitk
Visually browse Git repository history
TLDR
Show the repository browser for the current Git repository
Show repository browser for a specific file or directory
Show commits made since 1 week ago
Show commits older than 1/1/2016
Show at most 100 changes in all branches
SYNOPSIS
gitk [git-rev-parse arguments] [--] [path...]
PARAMETERS
git-rev-parse arguments
Arguments passed to git rev-parse to specify the commits to show. If none are given, shows all commits.
--
Signals the end of options. Remaining arguments are paths.
path...
Specifies paths to limit the commit history to commits that affect those paths.
DESCRIPTION
gitk is a graphical repository browser for Git. It allows you to browse the history of a Git repository, view commit messages, file contents, and the differences between commits. It uses the Tk widget toolkit to provide a user-friendly interface.
gitk is a valuable tool for understanding the history of a Git repository, finding specific commits, and examining changes made over time. Its graphical interface makes it easier to visualize the branch structure and commit history than using command-line tools alone.
It displays a graph of the commit history, allowing users to easily navigate between commits. Users can click on commits to view their details, including the author, date, commit message, and the changes introduced by the commit. gitk can also be used to compare different versions of files and visualize the differences between them.
gitk is useful for both developers and non-developers who need to understand the history of a Git repository.
CAVEATS
gitk relies on the Tk widget toolkit. Ensure that Tk is installed on your system before using gitk.
USAGE EXAMPLES
To browse the entire history of the current repository, simply run gitk without any arguments. To view the history of a specific file, provide the file path as an argument: gitk path/to/file.
SEE ALSO
git(1), git-log(1), git-rev-parse(1), git-gui(1)