1GIT-GUI(1)                        Git Manual                        GIT-GUI(1)
2
3
4

NAME

6       git-gui - A portable graphical interface to Git
7

SYNOPSIS

9       git gui [<command>] [arguments]
10

DESCRIPTION

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

COMMANDS

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 (or
33           HEAD by default). Files selected through the browser are opened in
34           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

EXAMPLES

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

SEE ALSO

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

OTHER

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       A git gui development repository can be obtained from:
95
96           git clone git://repo.or.cz/git-gui.git
97
98       or
99
100           git clone http://repo.or.cz/r/git-gui.git
101
102       or browsed online at http://repo.or.cz/w/git-gui.git/.
103

AUTHOR

105       Written by Shawn O. Pearce <spearce@spearce.org[1]>.
106

DOCUMENTATION

108       Documentation by Shawn O. Pearce <spearce@spearce.org[1]>.
109

GIT

111       Part of the git(1) suite
112

NOTES

114        1. spearce@spearce.org
115           mailto:spearce@spearce.org
116
117
118
119Git 1.7.1                         08/16/2017                        GIT-GUI(1)
Impressum