我在我的Mac OS 10.7系统上设置了一个git用户。 在根目录中,有一个/repositories/test.git回购。 当试图克隆与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-这是正确的细节,但本质上是服务器没有git-upload-pack在要执行的非loginshell的正确目录中。