我正在使用Heroku运行我的应用程序在ruby on rails项目中遇到一个非常烦人的问题。我的应用程序中存在很多错误,因此我决定删除我的应用程序,然后再次部署到新的应用程序上。事实是,每当我尝试
>> heroku create \\ works as intended
>> git push heroku master \\ tries to push using the erased app name, fails
>> remote: ! No such app as old-app-75226.
我如何告诉系统(在本例中为C9)要其推送到新应用?
您需要先从heroku分离存储库,然后重新创建
git remote rm heroku
heroku create
git push heroku master
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句