我有一個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