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