sin_404 2017-10-23 11:49 采纳率: 83.3%
浏览 2154
已结题

git 本地仓库master跟踪到远程仓库报错

[git@iZ9stefgbej5jkZ gitrepo]$ git remote add origin ssh://git@ip/home/gitrepo
[git@iZ9stefgbej5jkZ gitrepo]$ git push origin master
git@ip's password:
bash: 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.

百度不到解决的方案,只能求助各位道友了

2017/10/24 16:45
详细说明一下,并不是远程连接到GitHub的库,我是打算在centos服务器上自建git仓库,但在创建完共享仓库,把本地master分支和远程仓库关联起来时报错,和GitHub没关系

  • 写回答

2条回答 默认 最新

  • hello,是翠花呀 2017-10-24 03:55
    关注
    评论

报告相同问题?