gpt4 book ai didi

heroku - 如何设置git远程heroku?

转载 作者:行者123 更新时间:2023-12-01 03:29:08 24 4
gpt4 key购买 nike

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

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com