heroku - 如何设置git远程heroku?

标签 heroku github

当我尝试使用命令时 heroku git:remote -a sleepy-inlet-36834,我收到了 set git remote heroku to https://git.heroku.com/sleepy-inlet-36834.git在终端。然后我尝试像这样设置 git remote heroku。

heroku git:remote -a https://git.heroku.com/sleepy-inlet-36834.git.

那一次我收到了类似这样的错误消息。
 ▸    The requested API endpoint was not found. Are you using the right HTTP
 ▸    verb (i.e. `GET` vs. `POST`), and did you specify your intended version
 ▸    with the `Accept` header?

我该如何解决这个问题?

最佳答案

您可以通过 git 方式添加 Remote :

git remote add heroku https://git.heroku.com/sleepy-inlet-36834.git.

关于heroku - 如何设置git远程heroku?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39182261/

相关文章:

mysql - rails : specifying production environment specific migrations

heroku - 将 .tk 域指向域名

git - GitHub如何查看单个文件的变化?

github - 在 Github Pages 上设置我自己的域后,我得到一个 InvalidDNSError

git - merge 到master后自动删除git分支

sql - 什么是 "Implicit Database Sequence"?

docker - Heroku Docker 部署构建参数

sql - 导轨/事件记录 : how to get SQL COUNT and SUM to work with Postgres (at heroku)

ssl - Github 无法访问 SSL 连接错误

git - 如何在github中获取子模块