首先安裝Gitpython
sudo yum -y install git*
找到 git-all.noarch , 安裝這個.git
sudo yum install git-all.noarch
============ 如下是git-cola的文檔內容 ==========github
由於貌似Centos的yum沒有提供cola的下載. 我用了git-gui一個下午果斷棄了.ide
而後去git-cola的官網下了他的源碼. 找到了一份叫readme的文檔.ui
找到了下面這些:spa
## RUN FROM SOURCE
You don't need to install *git-cola* to run it.
Running *git-cola* from its source tree is the easiest
way to try the latest version.
git clone git://github.com/git-cola/git-cola.git
cd git-cola
./bin/git-cola
./bin/git-dag
Having *git-cola*'s *bin/* directory in your path allows you to run
*git cola* like a regular built-in Git command:
# Replace "$PWD/bin" with the path to git-cola's bin/ directory
PATH="$PWD/bin":"$PATH"
export PATH
git cola
git dag
The instructions below assume that you have *git-cola* present in your
`$PATH`. Replace "git cola" with "./bin/git-cola" as needed if you'd like to
just run it in-place.
# INSTALLATION
Normally you can just do "make install" to install *git-cola*
in your `$HOME` directory (`$HOME/bin`, `$HOME/share`, etc).
If you want to do a global install you can do
make prefix=/usr install
There are also platform-specific installation methods.
You'll probably want to use one of these anyways since they
have a nice side-effect of installing *git-cola*'s PyQt4
and argparse dependencies.
首先是去git-cola的Github那裏下載git-colacode
git clone git://github.com/git-cola/git-cola.git && cd git-cola
而後執行:orm
./bin/git-cola
./bin/git-dag
發現能夠跑起來了. 而後是安裝到系統... 執行blog
make prefix=/usr install
安裝就能夠了. 期間可能會提示安裝不成功, 由於缺乏了一個Qt4的庫, 順水推舟地用下面的指令安裝了Qt4, 再從新make一次便可:ci
sudo yum install python-qt4
至於使用的方法嘛, 跟烏龜的差很少~
文件打開項目的根目錄. 而後右鍵"在終端中打開"... 在終端中輸入:
git cola
便可....