git - 无法完成gitolite的安装

标签 git github gitolite

我已经安装了 Git,现在我正在尝试在我的服务器上安装 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 , 有一些有用的评论:

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

关于git - 无法完成gitolite的安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11668316/

相关文章:

git - 我在 gitweb 中看不到我的项目。如何正确配置 gitweb?

git - 在 JetBrains intellij for git 中显示未跟踪的文件

python - 如何通过 git pre-receive hook 验证用户身份

git - 如何强制 git 使用 SSH 身份验证?

azure - 为每个 GitHub 拉取请求部署一个测试 Web 应用程序

Gitolite 克隆失败

git - 从 git 存储库中完全删除文件及其历史记录

redirect - 301 重定向到 github 托管的网站?

git - 修改 Github 上推送提交的用户名

git - 如何在 Gitolite 中实现提交后钩子(Hook)?