2011-09-28 50 views
0

我想在mac mini x lion(乾淨安裝)的mac mini上設置gitosis。mac os x gitosis的獅子配置問題

基本上遵循的this guide

我也看了this question

如果我嘗試克隆Gitosis的-admin.git回購我得到以下錯誤:

git clone [email protected]:gitosis-admin.git 
Cloning into gitosis-admin... 
Assertion failed: (argv0_path), function system_path, file exec_cmd.c, line 30. 
error: git-shell died of signal 6 
fatal: The remote end hung up unexpectedly 

我也試着使用localhost,ip或遠程ip。

我注意到的一件事,如果我嘗試以我的git用戶(標準mac用戶,沒有密碼)登錄槽ssh我無法登錄(使敏感),但如果我設置密碼,我想我應該得到例如這樣的回答

PTY allocation request failed on channel 0 
    Connection to gitserver closed. 

,但我可以登錄像正常。

我一直在尋找了一個星期左右,並且沒有發現結果與此錯誤互聯網...

編輯: 在我的MacBook Pro有一兩件事,我也裝Gitosis的,以下同指示和它的工作!我錯過了什麼?

回答

1

好奇怪的,我想通了......不知怎的,我已經指定由git的用戶家direcotry的完整路徑:

git clone [email protected]:repositories/gitosis-admin.git 

與此命令我可以克隆該目錄