Gitolite git clone error

后端 未结 7 2073
小鲜肉
小鲜肉 2020-12-01 15:39

I am trying to setup gitolite on my server (Macos server).

I followed the instructions in the INSTALL document found here : http://sitaramc.github.com/gitolite/doc/1

7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-01 16:07

    To pile on, as a solution for Gitolite v3, for Mac Lion, this is what worked for me:

    $ENV{PATH}="/usr/local/bin:$ENV{PATH}";

    Add it to ~/.gitolite.rc for the git user on the server. Make sure it is before the "1;" at the end.

    As detailed in: https://serverfault.com/questions/307493/cant-clone-gitolite-admin

    The solutions involving GIT_PATH are outdated, according to: http://sitaramc.github.com/gitolite/g2migr.html

提交回复
热议问题