LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

git-gui

Tcl/Tk graphical interface for Git

TLDR

Start git gui
$ git gui
copy
Open blame viewer
$ git gui blame [file.txt]
copy
Open blame at specific line
$ git gui blame --line=[100] [file.txt]
copy
Browse repository tree at branch
$ git gui browser [branch]
copy
Open citool for a single commit
$ git gui citool
copy
Amend the last commit with citool
$ git gui citool --amend
copy

SYNOPSIS

git gui [command] [arguments]

DESCRIPTION

git gui is a Tcl/Tk graphical interface for Git. It provides visual tools for committing, browsing history, and viewing blame annotations.The interface shows staged and unstaged changes, allowing selective staging and commit message composition. The blame viewer shows line-by-line attribution with interactive navigation through the commit history.

PARAMETERS

blame FILE

Open blame viewer for file.
browser REVISION
Browse tree at revision.
citool
Start git gui and make exactly one commit before exiting.
version
Show the currently running version of git gui.
--line=NUMBER
(blame) Scroll blame view to center on line NUMBER.
--amend
(citool) Enter Amend Last Commit mode automatically.
--nocommit
(citool) Exit with zero status without making a commit.

CAVEATS

Requires Tcl/Tk installed. Interface is dated compared to modern GUI tools. May not be installed by default.

HISTORY

git gui was created by Shawn O. Pearce as the official Tcl/Tk GUI for Git, providing graphical operations since Git's early days.

SEE ALSO

git(1), git-commit(1), git-blame(1), gitk(1), tig(1)

Copied to clipboard
Kai