2007-06-21 08:51:00 +04:00
|
|
|
git-gui(1)
|
|
|
|
==========
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
git-gui - A portable graphical interface to Git
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
'git gui' [<command>] [arguments]
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2008-07-03 09:41:41 +04:00
|
|
|
A Tcl/Tk based graphical user interface to Git. 'git-gui' focuses
|
2007-06-21 08:51:00 +04:00
|
|
|
on allowing users to make changes to their repository by making
|
|
|
|
new commits, amending existing ones, creating branches, performing
|
|
|
|
local merges, and fetching/pushing to remote repositories.
|
|
|
|
|
2008-07-03 09:49:55 +04:00
|
|
|
Unlike 'gitk', 'git-gui' focuses on commit generation
|
2008-06-30 22:56:34 +04:00
|
|
|
and single file annotation and does not show project history.
|
2008-07-03 09:49:55 +04:00
|
|
|
It does however supply menu actions to start a 'gitk' session from
|
2008-07-03 09:41:41 +04:00
|
|
|
within 'git-gui'.
|
2007-06-21 08:51:00 +04:00
|
|
|
|
2008-07-03 09:41:41 +04:00
|
|
|
'git-gui' is known to work on all popular UNIX systems, Mac OS X,
|
2007-06-21 08:51:00 +04:00
|
|
|
and Windows (under both Cygwin and MSYS). To the extent possible
|
2008-07-03 09:41:41 +04:00
|
|
|
OS specific user interface guidelines are followed, making 'git-gui'
|
2007-06-21 08:51:00 +04:00
|
|
|
a fairly native interface for users.
|
|
|
|
|
|
|
|
COMMANDS
|
|
|
|
--------
|
|
|
|
blame::
|
|
|
|
Start a blame viewer on the specified file on the given
|
|
|
|
version (or working directory if not specified).
|
|
|
|
|
|
|
|
browser::
|
|
|
|
Start a tree browser showing all files in the specified
|
2008-07-03 09:03:54 +04:00
|
|
|
commit (or 'HEAD' by default). Files selected through the
|
2007-06-21 08:51:00 +04:00
|
|
|
browser are opened in the blame viewer.
|
|
|
|
|
|
|
|
citool::
|
2008-07-03 09:41:41 +04:00
|
|
|
Start 'git-gui' and arrange to make exactly one commit before
|
2007-06-21 08:51:00 +04:00
|
|
|
exiting and returning to the shell. The interface is limited
|
|
|
|
to only commit actions, slightly reducing the application's
|
|
|
|
startup time and simplifying the menubar.
|
|
|
|
|
|
|
|
version::
|
2008-07-03 09:41:41 +04:00
|
|
|
Display the currently running version of 'git-gui'.
|
2007-06-21 08:51:00 +04:00
|
|
|
|
|
|
|
|
|
|
|
Examples
|
|
|
|
--------
|
|
|
|
git gui blame Makefile::
|
|
|
|
|
|
|
|
Show the contents of the file 'Makefile' in the current
|
|
|
|
working directory, and provide annotations for both the
|
|
|
|
original author of each line, and who moved the line to its
|
|
|
|
current location. The uncommitted file is annotated, and
|
|
|
|
uncommitted changes (if any) are explicitly attributed to
|
|
|
|
'Not Yet Committed'.
|
|
|
|
|
|
|
|
git gui blame v0.99.8 Makefile::
|
|
|
|
|
|
|
|
Show the contents of 'Makefile' in revision 'v0.99.8'
|
2008-07-03 09:03:54 +04:00
|
|
|
and provide annotations for each line. Unlike the above
|
2007-06-21 08:51:00 +04:00
|
|
|
example the file is read from the object database and not
|
|
|
|
the working directory.
|
|
|
|
|
|
|
|
git gui citool::
|
|
|
|
|
|
|
|
Make one commit and return to the shell when it is complete.
|
|
|
|
|
|
|
|
git citool::
|
|
|
|
|
2008-07-03 10:06:23 +04:00
|
|
|
Same as `git gui citool` (above).
|
2007-06-21 08:51:00 +04:00
|
|
|
|
|
|
|
git gui browser maint::
|
|
|
|
|
|
|
|
Show a browser for the tree of the 'maint' branch. Files
|
|
|
|
selected in the browser can be viewed with the internal
|
|
|
|
blame viewer.
|
|
|
|
|
2008-05-29 03:55:27 +04:00
|
|
|
SEE ALSO
|
2007-06-21 08:51:00 +04:00
|
|
|
--------
|
2008-05-29 03:55:27 +04:00
|
|
|
linkgit:gitk[1]::
|
2007-06-21 08:51:00 +04:00
|
|
|
The git repository browser. Shows branches, commit history
|
|
|
|
and file differences. gitk is the utility started by
|
2008-07-03 09:41:41 +04:00
|
|
|
'git-gui''s Repository Visualize actions.
|
2007-06-21 08:51:00 +04:00
|
|
|
|
|
|
|
Other
|
|
|
|
-----
|
2008-07-03 09:41:41 +04:00
|
|
|
'git-gui' is actually maintained as an independent project, but stable
|
2007-08-24 04:44:13 +04:00
|
|
|
versions are distributed as part of the Git suite for the convenience
|
2007-06-21 08:51:00 +04:00
|
|
|
of end users.
|
|
|
|
|
2008-07-03 09:41:41 +04:00
|
|
|
A 'git-gui' development repository can be obtained from:
|
2007-06-21 08:51:00 +04:00
|
|
|
|
|
|
|
git clone git://repo.or.cz/git-gui.git
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
git clone http://repo.or.cz/r/git-gui.git
|
|
|
|
|
|
|
|
or browsed online at http://repo.or.cz/w/git-gui.git/[].
|
|
|
|
|
|
|
|
Author
|
|
|
|
------
|
|
|
|
Written by Shawn O. Pearce <spearce@spearce.org>.
|
|
|
|
|
|
|
|
Documentation
|
|
|
|
--------------
|
|
|
|
Documentation by Shawn O. Pearce <spearce@spearce.org>.
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 11:07:32 +04:00
|
|
|
Part of the linkgit:git[1] suite
|