Centos7 安装Git-cola

首先安装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

便可....

相关文章
相关标签/搜索