Movatterモバイル変換


[0]ホーム

URL:


Git
English ▾Topics ▾ Latest version ▾git-gui last updated in 2.45.3

NAME

git-gui - A portable graphical interface to Git

SYNOPSIS

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

DESCRIPTION

A Tcl/Tk based graphical user interface to Git.git gui focuseson allowing users to make changes to their repository by makingnew commits, amending existing ones, creating branches, performinglocal merges, and fetching/pushing to remote repositories.

Unlikegitk,git gui focuses on commit generationand single file annotation and does not show project history.It does however supply menu actions to start agitk session fromwithingit gui.

git gui is known to work on all popular UNIX systems, Mac OS X,and Windows (under both Cygwin and MSYS). To the extent possibleOS specific user interface guidelines are followed, makinggit guia fairly native interface for users.

COMMANDS

blame

Start a blame viewer on the specified file on the givenversion (or working directory if not specified).

browser

Start a tree browser showing all files in the specifiedcommit. Files selected through thebrowser are opened in the blame viewer.

citool

Startgit gui and arrange to make exactly one commit beforeexiting and returning to the shell. The interface is limitedto only commit actions, slightly reducing the application’sstartup time and simplifying the menubar.

version

Display the currently running version ofgit gui.

Examples

gitguiblameMakefile

Show the contents of the fileMakefile in the currentworking directory, and provide annotations for both theoriginal author of each line, and who moved the line to itscurrent location. The uncommitted file is annotated, anduncommitted changes (if any) are explicitly attributed toNot Yet Committed.

gitguiblamev0.99.8Makefile

Show the contents ofMakefile in revisionv0.99.8and provide annotations for each line. Unlike the aboveexample the file is read from the object database and notthe working directory.

gitguiblame--line=100Makefile

Loads annotations as described above and automaticallyscrolls the view to center on line100.

gitguicitool

Make one commit and return to the shell when it is complete.This command returns a non-zero exit code if the window wasclosed in any way other than by making a commit.

gitguicitool--amend

Automatically enter theAmend Last Commit mode ofthe interface.

gitguicitool--nocommit

Behave as normal citool, but instead of making a commitsimply terminate with a zero exit code. It still checksthat the index does not contain any unmerged entries, soyou can use it as a GUI version ofgit-mergetool[1]

gitcitool

Same asgitguicitool (above).

gitguibrowsermaint

Show a browser for the tree of themaint branch. Filesselected in the browser can be viewed with the internalblame viewer.

SEE ALSO

gitk[1]

The Git repository browser. Shows branches, commit historyand file differences. gitk is the utility started bygit gui's Repository Visualize actions.

Other

git gui is actually maintained as an independent project, but stableversions are distributed as part of the Git suite for the convenienceof end users.

The official repository of thegit gui project can be found at:

https://github.com/j6t/git-gui

GIT

Part of thegit[1] suite

scroll-to-top

[8]ページ先頭

©2009-2025 Movatter.jp