当我尝试使用命令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?
我该如何解决这个问题?
答案 0 :(得分:2)
你可以用git方式添加遥控器:
git remote add heroku https://git.heroku.com/sleepy-inlet-36834.git.
答案 1 :(得分:0)
git remote rm heroku
删除以前的heroku
git remote add heroku https://example-example.git
将 git remote heroku 设置为 https://example-example.git