【发布时间】:2013-09-16 20:24:48
【问题描述】:
我尝试部署我的第一个 heroku 代码,但是当我运行 git push heroku master 时,我收到如下错误:
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
git remote -v 给,
heroku git@heroku.com:dry-stream-5959.git (fetch)
heroku git@heroku.com:dry-stream-5959.git (push)
问题出在哪里?为什么不部署代码?
【问题讨论】:
-
看起来你并没有推送到 heroku,git 抱怨与
github.com的连接超时。我有点记得过去有这个问题,你介意发布你的git status吗? -
@ThomasOrozco:
git status命令给出: git status # 在分支主机上没有提交,工作目录干净