2007-06-21 06:51:00 +02:00
|
|
|
git-gui(1)
|
|
|
|
==========
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
git-gui - A portable graphical interface to Git
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
'git gui' [<command>] [arguments]
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2010-01-10 00:33:00 +01:00
|
|
|
A Tcl/Tk based graphical user interface to Git. 'git gui' focuses
|
2007-06-21 06:51:00 +02: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.
|
|
|
|
|
2010-01-10 00:33:00 +01:00
|
|
|
Unlike 'gitk', 'git gui' focuses on commit generation
|
2008-06-30 20:56:34 +02:00
|
|
|
and single file annotation and does not show project history.
|
2008-07-03 07:49:55 +02:00
|
|
|
It does however supply menu actions to start a 'gitk' session from
|
2010-01-10 00:33:00 +01:00
|
|
|
within 'git gui'.
|
2007-06-21 06:51:00 +02:00
|
|
|
|
2010-01-10 00:33:00 +01:00
|
|
|
'git gui' is known to work on all popular UNIX systems, Mac OS X,
|
2007-06-21 06:51:00 +02:00
|
|
|
and Windows (under both Cygwin and MSYS). To the extent possible
|
2010-01-10 00:33:00 +01:00
|
|
|
OS specific user interface guidelines are followed, making 'git gui'
|
2007-06-21 06:51:00 +02: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 07:03:54 +02:00
|
|
|
commit (or 'HEAD' by default). Files selected through the
|
2007-06-21 06:51:00 +02:00
|
|
|
browser are opened in the blame viewer.
|
|
|
|
|
|
|
|
citool::
|
2010-01-10 00:33:00 +01:00
|
|
|
Start 'git gui' and arrange to make exactly one commit before
|
2007-06-21 06:51:00 +02: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::
|
2010-01-10 00:33:00 +01:00
|
|
|
Display the currently running version of 'git gui'.
|
2007-06-21 06:51:00 +02: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 07:03:54 +02:00
|
|
|
and provide annotations for each line. Unlike the above
|
2007-06-21 06:51:00 +02:00
|
|
|
example the file is read from the object database and not
|
|
|
|
the working directory.
|
|
|
|
|
2008-11-13 18:28:49 +01:00
|
|
|
git gui blame --line=100 Makefile::
|
|
|
|
|
|
|
|
Loads annotations as described above and automatically
|
|
|
|
scrolls the view to center on line '100'.
|
|
|
|
|
2007-06-21 06:51:00 +02:00
|
|
|
git gui citool::
|
|
|
|
|
|
|
|
Make one commit and return to the shell when it is complete.
|
2008-11-13 18:28:49 +01:00
|
|
|
This command returns a non-zero exit code if the window was
|
|
|
|
closed in any way other than by making a commit.
|
|
|
|
|
|
|
|
git gui citool --amend::
|
|
|
|
|
|
|
|
Automatically enter the 'Amend Last Commit' mode of
|
|
|
|
the interface.
|
|
|
|
|
|
|
|
git gui citool --nocommit::
|
|
|
|
|
|
|
|
Behave as normal citool, but instead of making a commit
|
|
|
|
simply terminate with a zero exit code. It still checks
|
|
|
|
that the index does not contain any unmerged entries, so
|
|
|
|
you can use it as a GUI version of linkgit:git-mergetool[1]
|
2007-06-21 06:51:00 +02:00
|
|
|
|
|
|
|
git citool::
|
|
|
|
|
2008-07-03 08:06:23 +02:00
|
|
|
Same as `git gui citool` (above).
|
2007-06-21 06:51:00 +02: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 01:55:27 +02:00
|
|
|
SEE ALSO
|
2007-06-21 06:51:00 +02:00
|
|
|
--------
|
2008-05-29 01:55:27 +02:00
|
|
|
linkgit:gitk[1]::
|
2007-06-21 06:51:00 +02:00
|
|
|
The git repository browser. Shows branches, commit history
|
|
|
|
and file differences. gitk is the utility started by
|
2010-01-10 00:33:00 +01:00
|
|
|
'git gui''s Repository Visualize actions.
|
2007-06-21 06:51:00 +02:00
|
|
|
|
|
|
|
Other
|
|
|
|
-----
|
2010-01-10 00:33:00 +01:00
|
|
|
'git gui' is actually maintained as an independent project, but stable
|
2007-08-24 02:44:13 +02:00
|
|
|
versions are distributed as part of the Git suite for the convenience
|
2007-06-21 06:51:00 +02:00
|
|
|
of end users.
|
|
|
|
|
2010-01-10 00:33:00 +01:00
|
|
|
A 'git gui' development repository can be obtained from:
|
2007-06-21 06:51:00 +02: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 09:07:32 +02:00
|
|
|
Part of the linkgit:git[1] suite
|