gl-system-install
是Gitolite命令,而Gitolite已移至V3 (or 'g3')。
在V3,gl-system-install
不存在,現在被稱爲gitolite(和gitolite-shell
)
gitolite/install -to $HOME/bin
gitolite setup -pk YourName.pub
,獲得更新的設置過程見Gitolite installation page。
"Installation" consists of the following options:
- Keep the sources anywhere and use the full path to run the
gitolite
command.
- Keep the sources anywhere and symlink just the
gitolite
program to some directory on your $PATH
.
- Copy the sources somewhere and use that path to run the
gitolite
command.
Option 2 is the best for general use.
# option 2
gitolite/install -ln
# defaults to $HOME/bin (which is assumed to exist)
# ** or **
# or use a specific directory (please supply full path):
gitolite/install -ln /usr/local/bin
是否有含'GL-系統install'命令你的當前目錄中的'src'目錄?如果沒有,你可能在錯誤的地方運行命令。如果*有*,劇本的第一行是什麼樣的? – larsks
在下面的教程中,您需要確保您安裝的版本與教程匹配,否則您將遇到類似問題。 該教程是從2010年和一些變化回來。可能你已經安裝了一個更新的版本。 – vgoff