无法完成gitolite的安装

3

我已安装了Git,现在正试图在我的服务器上安装gitolite,所以我输入了以下命令:

git clone git://github.com/sitaramc/gitolite
gitolite/install 

这个命令的结果如下:

use the following full path for gitolite: /root/gitolite/src/gitolite

怎样完成安装?
2个回答

1

如果您查看您要执行的文件,会发现一些有用的注释:

Usage (from gitolite clone directory):

    ./install
    to run gitolite using an absolute or relative path, for example
    'src/gitolite' or '/full/path/to/this/dir/src/gitolite'

    ./install -ln [<dir>]
    to symlink just the gitolite executable to some <dir> that is in
    $PATH. <dir> defaults to $HOME/bin if <dir> not specified. <dir> is
    assumed to exist; gitolite will not create it.

    Please provide a full path, not a relative path.

    ./install -to <dir>
    to copy the entire 'src' directory to <dir>. If <dir> is not in
    $PATH, use the full path to run gitolite commands.

    Please provide a full path, not a relative path.

Simplest use, if $HOME/bin exists and is in $PATH, is:

    git clone git://github.com/sitaramc/gitolite
    gitolite/install -ln

    # now run setup
    gitolite setup -pk /path/to/YourName.pub

0

现在被认为是“安装完成”。要使用它,您必须使用它输出的路径。

如果您想将其安装在路径上,则必须使用以下形式:

./install --to <dir>

建议使用:

./install --to $HOME/bin

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接