小编use*_*052的帖子

'git push heroku master'命令返回'致命:无法从远程存储库中读取'

当我输入时git push heroku master,我得到:

!  No such app as sleepy-headland-6232.

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Run Code Online (Sandbox Code Playgroud)

当我这样做时git remote -v,我得到:

heroku  git@heroku.com:sleepy-headland-6232.git (fetch)
heroku  git@heroku.com:sleepy-headland-6232.git (push)
origin  git@github.com:fackthisshit/github.git (fetch)
origin  git@github.com:fackthisshit/github.git (push)
Run Code Online (Sandbox Code Playgroud)

因此,我做到了git remote add heroku git@heroku.com:sleepy-headland-6232.git,但后来我得到了fatal: remote heroku already exists.

这就像一个无限循环的大梁.我怎么能摆脱这个循环?

heroku

12
推荐指数
2
解决办法
2万
查看次数

标签 统计

heroku ×1