我使用Ubuntu 11.10後剛剛使用混帳GUI和gitk不存在安裝混帳
sudo apt-get install
基本的Git命令似乎工作安裝飯桶。 (我創建了一個存儲庫並添加了一個目錄結構。)但不是git gui或gitk。這是我得到
[email protected]:/var/www$ sudo git gui
git: 'gui' is not a git command. See 'git --help'.
Did you mean one of these?
grep
init
pull
push
[email protected]:/var/www$
對於gitk
[email protected]:/var/www$ sudo gitk
sudo: gitk: command not found
[email protected]:/var/www$
不要在Ubuntu上運行這些命令,做我需要單獨安裝呢?
謝謝, 彼得。
爲什麼sudo? gitk需要單獨安裝。不確定git-gui是什麼? –
在Ubuntu(和Debian)中,Git早已將gitk和git-gui從主'git'(以前的'git-core')包中分離出來。他們需要另外安裝(或者安裝'git-all',它們也會安裝它們) –
我使用sudo,因爲目錄歸www-data所有。 – OtagoHarbour