1GIT-GUI(1) Git Manual GIT-GUI(1)
2
3
4
6 git-gui - A portable graphical interface to Git
7
9 git gui [<command>] [<arguments>]
10
12 A Tcl/Tk based graphical user interface to Git. git gui focuses on
13 allowing users to make changes to their repository by making new
14 commits, amending existing ones, creating branches, performing local
15 merges, and fetching/pushing to remote repositories.
16
17 Unlike gitk, git gui focuses on commit generation and single file
18 annotation and does not show project history. It does however supply
19 menu actions to start a gitk session from within git gui.
20
21 git gui is known to work on all popular UNIX systems, Mac OS X, and
22 Windows (under both Cygwin and MSYS). To the extent possible OS
23 specific user interface guidelines are followed, making git gui a
24 fairly native interface for users.
25
27 blame
28 Start a blame viewer on the specified file on the given version (or
29 working directory if not specified).
30
31 browser
32 Start a tree browser showing all files in the specified commit.
33 Files selected through the browser are opened in the blame viewer.
34
35 citool
36 Start git gui and arrange to make exactly one commit before exiting
37 and returning to the shell. The interface is limited to only commit
38 actions, slightly reducing the application’s startup time and
39 simplifying the menubar.
40
41 version
42 Display the currently running version of git gui.
43
45 git gui blame Makefile
46 Show the contents of the file Makefile in the current working
47 directory, and provide annotations for both the original author of
48 each line, and who moved the line to its current location. The
49 uncommitted file is annotated, and uncommitted changes (if any) are
50 explicitly attributed to Not Yet Committed.
51
52 git gui blame v0.99.8 Makefile
53 Show the contents of Makefile in revision v0.99.8 and provide
54 annotations for each line. Unlike the above example the file is
55 read from the object database and not the working directory.
56
57 git gui blame --line=100 Makefile
58 Loads annotations as described above and automatically scrolls the
59 view to center on line 100.
60
61 git gui citool
62 Make one commit and return to the shell when it is complete. This
63 command returns a non-zero exit code if the window was closed in
64 any way other than by making a commit.
65
66 git gui citool --amend
67 Automatically enter the Amend Last Commit mode of the interface.
68
69 git gui citool --nocommit
70 Behave as normal citool, but instead of making a commit simply
71 terminate with a zero exit code. It still checks that the index
72 does not contain any unmerged entries, so you can use it as a GUI
73 version of git-mergetool(1)
74
75 git citool
76 Same as git gui citool (above).
77
78 git gui browser maint
79 Show a browser for the tree of the maint branch. Files selected in
80 the browser can be viewed with the internal blame viewer.
81
83 gitk(1)
84 The Git repository browser. Shows branches, commit history and file
85 differences. gitk is the utility started by git gui's Repository
86 Visualize actions.
87
89 git gui is actually maintained as an independent project, but stable
90 versions are distributed as part of the Git suite for the convenience
91 of end users.
92
93 The official repository of the git gui project can be found at:
94
95 https://github.com/prati0100/git-gui.git/
96
98 Part of the git(1) suite
99
100
101
102Git 2.36.1 2022-05-05 GIT-GUI(1)