我有一个IP地址XXX.XX.XX.XX在服务器上的Git仓库和我的用户名是UUU访问远程的Git仓库
在我的本地的笔记本电脑,我设置为我的.git如下/配置文件:
[remote "origin"]
url = [email protected]:/home/UUU/repositories/repo.git
fetch = +refs/heads/*:refs/remotes/origin/*
receivepack = /usr/bin/git-receive-pack
uploadpack = /usr/bin/git-upload-pack
当我使用git推或拉的git我的笔记本电脑,我得到以下错误
bash: /usr/bin/git-upload-pack: No such file or directory
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我在做什么错?
你为什么要指定receivepack/uploadpack? – 2014-11-20 19:15:18