1)我在heroku周围闲逛,不小心删除了我的heroku应用程序。
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) 在运行heroku create之后,我运行了以下命令:
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
它推到正确的遥控器?
将heroku
远程更改为新项目的git URL
git remote set-url heroku https://git.heroku.com/polar-cove-4803.git
这将设置你的远程到你的新项目,你应该能够
git push heroku master