简体   繁体   English

在意外删除heroku上的应用程序后无法推送到heroku

[英]Can't push to heroku after accidentally deleting app on heroku

1) I was poking around heroku and accidentally delete my heroku app. 1)我在heroku周围戳,不小心删除了我的heroku应用程序。

2) I ran heroku create and got this: 2)我运行heroku创建并得到了这个:

heroku create
Your version of git is 2.1.2. Which has serious security vulnerabilities.
More information here: https://blog.heroku.com/archives/2014/12/23/update_your_git_clients_on_windows_and_os_x
Creating polar-cove-4803... done, stack is cedar-14
https://polar-cove-4803.herokuapp.com/ | https://git.heroku.com/polar-cove-4803.git

3) After running heroku create, I ran this command: 3)运行heroku后,我运行了这个命令:

git push heroku master
remote: !   No such app as murmuring-dawn-5953.
fatal: repository 'https://git.heroku.com/murmuring-dawn-5953.git/' not found

4) How do I reset the heroku remote and delete this remote so that when I do 4)如何重置heroku遥控器并删除此遥控器以便我这样做

git push heroku master

it pushes to the correct remote? 它推到正确的遥控器?

Change the heroku remote to the new project's git URL heroku远程更改为新项目的git URL

git remote set-url heroku https://git.heroku.com/polar-cove-4803.git

That will set your remote to your new project and you should be able to 这会将您的遥控器设置为您的新项目,您应该能够

git push heroku master

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM