2012-07-26 83 views
3

安裝我已經安裝了Git和現在我想我的服務器上安裝gitolite,所以我輸入:無法完成gitolite

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

這個命令的結果是遵循

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

如果你看一看the file you are trying to execute我如何能完成安裝

回答

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