I've installed git-gui tool via sudo apt-get install git-gui. But how do I start it? Trying with search or git-gui command did not find and UI tool for Git.
Asked
Active
Viewed 1.6e+01k times
67
Sylvain Pineau
- 63,309
ubuntico
- 2,882
3 Answers
74
Type git citool to start git-gui.
If it gives the error: git: 'citool' is not a git command, just install the following package: git-gui
sudo apt-get install git-gui
alper
- 224
Sylvain Pineau
- 63,309
-
2
-
18Just install the following package: git-gui,
sudo apt-get install git-gui– Sylvain Pineau Jul 13 '14 at 15:50 -
6
-
1This gave me error git: 'citool' is not a git command. See 'git --help'. – Luzan Baral May 08 '15 at 09:40
-
2@LuzanBaral: Please install the following packages:
sudo apt-get install git-gui gitk– Sylvain Pineau May 08 '15 at 10:04 -
38
-
1If that doesn't work, run
sudo apt-get install git-guifirst.apt-get install gitdoes not installgit gui. – wisbucky Oct 13 '17 at 22:03
6
In terminal type :
git gui citool
Make one commit and return to the shell when it is complete. 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 git-mergetool.
Reference Site
nux
- 39,252
-
The reference site says
git gui is actually maintained as an independent project, but stable versions are distributed as part of the Git suite for the convenience of end users.So is it really required to installgit-guior should i get it automatically insidegit? I have doneapt-get install giton my Ubuntu, but thegit gui citooldoes not run. I get the errorgit: 'gui' is not a git command.– faizal Jul 13 '14 at 14:52 -
2u need to install git-gui, use
sudo apt-get install git-guiand then just enter commandgit gui, everything will work fine. – shruti May 12 '15 at 09:21
git-allwould have installedgit-guialong with all the other packages related togit. – faizal Jul 13 '14 at 16:24