2007-06-21 06:51:00 +02:00
|
|
|
git-gui(1)
|
|
|
|
==========
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
git-gui - A portable graphical interface to Git
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2011-07-02 04:38:26 +02:00
|
|
|
[verse]
|
2007-06-21 06:51:00 +02:00
|
|
|
'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
|
2017-01-12 22:32:40 +01:00
|
|
|
commit. 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
|
|
|
|
--------
|
docs: put listed example commands in backticks
Many examples of git command invocation are given in asciidoc listing
blocks, which makes them monospaced and avoids further interpretation of
special characters. Some manpages make a list of examples, like:
git foo::
Run git foo.
git foo -q::
Use the "-q" option.
to quickly show many variants. However, they can sometimes be hard to
read, because they are shown in a proportional-width font (so, for
example, seeing the difference between "-- foo" and "--foo" can be
difficult).
This patch puts all such examples into backticks, which gives the
equivalent formatting to a listing block (i.e., monospaced and without
character interpretation).
As a bonus, this also fixes an example in the git-push manpage, in which
"git push origin :::" was accidentally considered a newly-indented list,
and not a list item with "git push origin :" in it.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-08-04 04:13:29 +02:00
|
|
|
`git gui blame Makefile`::
|
2007-06-21 06:51:00 +02:00
|
|
|
|
|
|
|
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'.
|
|
|
|
|
docs: put listed example commands in backticks
Many examples of git command invocation are given in asciidoc listing
blocks, which makes them monospaced and avoids further interpretation of
special characters. Some manpages make a list of examples, like:
git foo::
Run git foo.
git foo -q::
Use the "-q" option.
to quickly show many variants. However, they can sometimes be hard to
read, because they are shown in a proportional-width font (so, for
example, seeing the difference between "-- foo" and "--foo" can be
difficult).
This patch puts all such examples into backticks, which gives the
equivalent formatting to a listing block (i.e., monospaced and without
character interpretation).
As a bonus, this also fixes an example in the git-push manpage, in which
"git push origin :::" was accidentally considered a newly-indented list,
and not a list item with "git push origin :" in it.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-08-04 04:13:29 +02:00
|
|
|
`git gui blame v0.99.8 Makefile`::
|
2007-06-21 06:51:00 +02:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
docs: put listed example commands in backticks
Many examples of git command invocation are given in asciidoc listing
blocks, which makes them monospaced and avoids further interpretation of
special characters. Some manpages make a list of examples, like:
git foo::
Run git foo.
git foo -q::
Use the "-q" option.
to quickly show many variants. However, they can sometimes be hard to
read, because they are shown in a proportional-width font (so, for
example, seeing the difference between "-- foo" and "--foo" can be
difficult).
This patch puts all such examples into backticks, which gives the
equivalent formatting to a listing block (i.e., monospaced and without
character interpretation).
As a bonus, this also fixes an example in the git-push manpage, in which
"git push origin :::" was accidentally considered a newly-indented list,
and not a list item with "git push origin :" in it.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-08-04 04:13:29 +02:00
|
|
|
`git gui blame --line=100 Makefile`::
|
2008-11-13 18:28:49 +01:00
|
|
|
|
|
|
|
Loads annotations as described above and automatically
|
|
|
|
scrolls the view to center on line '100'.
|
|
|
|
|
docs: put listed example commands in backticks
Many examples of git command invocation are given in asciidoc listing
blocks, which makes them monospaced and avoids further interpretation of
special characters. Some manpages make a list of examples, like:
git foo::
Run git foo.
git foo -q::
Use the "-q" option.
to quickly show many variants. However, they can sometimes be hard to
read, because they are shown in a proportional-width font (so, for
example, seeing the difference between "-- foo" and "--foo" can be
difficult).
This patch puts all such examples into backticks, which gives the
equivalent formatting to a listing block (i.e., monospaced and without
character interpretation).
As a bonus, this also fixes an example in the git-push manpage, in which
"git push origin :::" was accidentally considered a newly-indented list,
and not a list item with "git push origin :" in it.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-08-04 04:13:29 +02:00
|
|
|
`git gui citool`::
|
2007-06-21 06:51:00 +02:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
docs: put listed example commands in backticks
Many examples of git command invocation are given in asciidoc listing
blocks, which makes them monospaced and avoids further interpretation of
special characters. Some manpages make a list of examples, like:
git foo::
Run git foo.
git foo -q::
Use the "-q" option.
to quickly show many variants. However, they can sometimes be hard to
read, because they are shown in a proportional-width font (so, for
example, seeing the difference between "-- foo" and "--foo" can be
difficult).
This patch puts all such examples into backticks, which gives the
equivalent formatting to a listing block (i.e., monospaced and without
character interpretation).
As a bonus, this also fixes an example in the git-push manpage, in which
"git push origin :::" was accidentally considered a newly-indented list,
and not a list item with "git push origin :" in it.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-08-04 04:13:29 +02:00
|
|
|
`git gui citool --amend`::
|
2008-11-13 18:28:49 +01:00
|
|
|
|
|
|
|
Automatically enter the 'Amend Last Commit' mode of
|
|
|
|
the interface.
|
|
|
|
|
docs: put listed example commands in backticks
Many examples of git command invocation are given in asciidoc listing
blocks, which makes them monospaced and avoids further interpretation of
special characters. Some manpages make a list of examples, like:
git foo::
Run git foo.
git foo -q::
Use the "-q" option.
to quickly show many variants. However, they can sometimes be hard to
read, because they are shown in a proportional-width font (so, for
example, seeing the difference between "-- foo" and "--foo" can be
difficult).
This patch puts all such examples into backticks, which gives the
equivalent formatting to a listing block (i.e., monospaced and without
character interpretation).
As a bonus, this also fixes an example in the git-push manpage, in which
"git push origin :::" was accidentally considered a newly-indented list,
and not a list item with "git push origin :" in it.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-08-04 04:13:29 +02:00
|
|
|
`git gui citool --nocommit`::
|
2008-11-13 18:28:49 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
docs: put listed example commands in backticks
Many examples of git command invocation are given in asciidoc listing
blocks, which makes them monospaced and avoids further interpretation of
special characters. Some manpages make a list of examples, like:
git foo::
Run git foo.
git foo -q::
Use the "-q" option.
to quickly show many variants. However, they can sometimes be hard to
read, because they are shown in a proportional-width font (so, for
example, seeing the difference between "-- foo" and "--foo" can be
difficult).
This patch puts all such examples into backticks, which gives the
equivalent formatting to a listing block (i.e., monospaced and without
character interpretation).
As a bonus, this also fixes an example in the git-push manpage, in which
"git push origin :::" was accidentally considered a newly-indented list,
and not a list item with "git push origin :" in it.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-08-04 04:13:29 +02:00
|
|
|
`git citool`::
|
2007-06-21 06:51:00 +02:00
|
|
|
|
2008-07-03 08:06:23 +02:00
|
|
|
Same as `git gui citool` (above).
|
2007-06-21 06:51:00 +02:00
|
|
|
|
docs: put listed example commands in backticks
Many examples of git command invocation are given in asciidoc listing
blocks, which makes them monospaced and avoids further interpretation of
special characters. Some manpages make a list of examples, like:
git foo::
Run git foo.
git foo -q::
Use the "-q" option.
to quickly show many variants. However, they can sometimes be hard to
read, because they are shown in a proportional-width font (so, for
example, seeing the difference between "-- foo" and "--foo" can be
difficult).
This patch puts all such examples into backticks, which gives the
equivalent formatting to a listing block (i.e., monospaced and without
character interpretation).
As a bonus, this also fixes an example in the git-push manpage, in which
"git push origin :::" was accidentally considered a newly-indented list,
and not a list item with "git push origin :" in it.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-08-04 04:13:29 +02:00
|
|
|
`git gui browser maint`::
|
2007-06-21 06:51:00 +02:00
|
|
|
|
|
|
|
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]::
|
2013-01-21 20:17:53 +01:00
|
|
|
The Git repository browser. Shows branches, commit history
|
2007-06-21 06:51:00 +02:00
|
|
|
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.
|
|
|
|
|
2019-10-05 14:57:42 +02:00
|
|
|
The official repository of the 'git gui' project can be found at:
|
2007-06-21 06:51:00 +02:00
|
|
|
|
2019-10-05 14:57:42 +02:00
|
|
|
https://github.com/prati0100/git-gui.git/
|
2007-06-21 06:51:00 +02:00
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 09:07:32 +02:00
|
|
|
Part of the linkgit:git[1] suite
|