从头开始,在我的 Windows 工作站上设置 git,并按照http://git-scm.com/book/en/Git-on-the-Server-Getting-Git-on-a-Server上的说明进行设置我的裸回购。能够使用 git Bash 将文件 scp 到我的托管服务器,但是当我将 orign 服务器添加到 repo 并尝试推送时,我得到了这个:
Pushing to user@host:/home/user/git/project.git
jailshell: git-receive-pack: command not found
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
谢谢你的帮助。