Git をインストールgitolite
しましたが、サーバーにインストールしようとしているので、次のように入力しました。
git clone git://github.com/sitaramc/gitolite
gitolite/install
このコマンドの結果は次のとおりです
use the following full path for gitolite: /root/gitolite/src/gitolite
インストールを完了する方法
実行しようとしているファイルを見ると、役立つコメントがいくつかあります。
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
これで「インストール完了」とみなされます。それを使用するには、それが出力するパスを使用する必要があります。
パスにインストールする場合は、次の形式を使用する必要があります。
./install --to <dir>
推奨は次のとおりです。
./install --to $HOME/bin