sin_404
sin_404
2017-10-23 11:49

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

10
  • git

[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条回答