1)我在heroku周围戳,不小心删除了我的heroku应用程序。
2)我运行了heroku create并得到了这个:
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)运行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)如何重置heroku遥控器并删除此遥控器,以便在我这样做时
git push heroku master
它推送到正确的遥控器?
答案 0 :(得分:15)
将heroku
遥控器更改为新项目的git URL
git remote set-url heroku https://git.heroku.com/polar-cove-4803.git
这会将您的遥控器设置为您的新项目,您应该能够
git push heroku master