当我尝试使用命令时 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/