Git
試圖複製一個裸 git repo:無法從遠端儲存庫中讀取
我在我的 Mac OS 10.7 系統上設置了一個 git 使用者。在根目錄下,有一個
/repositories/test.git
repo。當試圖用git clone git@server:repositories/test.git
它複製它時,我失敗了:bash: git-upload-pack: command not found fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
我究竟做錯了什麼?
有關詳細資訊,請參閱https://stackoverflow.com/questions/225291/git-upload-pack-command-not-found-how-to-fix-this-correctly,但基本上伺服器沒有
git-upload-pack
正確的目錄要執行的非登錄 shell。