git gui

External Tools

Open the graphical interface that ships with Git


The 'git gui' command opens Git's own graphical interface, focused on making commits: see changes, stage files or single lines, write the message and commit. It also has menus for branches, merges and remotes. It ships with Git for Windows and many Linux packages.

Synopsis

git gui [<command>] [<arguments>]
[ ] optional| or<arg> placeholder... repeatable--flag option

Examples

Open it

git gui

The commit tool window.


Blame view

git gui blame app.js

A graphical blame.

Workflow Examples

1
git gui

Open it

2
Right-click → Stage Line For Commit

Pick lines

3
Commit

Write the message and commit

Troubleshooting

git: 'gui' is not a git command

Cause: Your package does not include it

Install git-gui (e.g. apt install git-gui)

Tips & Pitfalls

Best Practices

  • ✓Learn the command line equivalents too — they work everywhere.

FAQ

A:

No: git gui is for committing, gitk for browsing history.