我在Heroku上有一个应用程序,但当我尝试使用两个不同的Heroku帐户和多个应用程序时,事情变得混乱了。我卸载并重新安装了Heroku工具箱,并使用我正在处理的应用程序登录到我的帐户(通过CL)。事情搞得一团糟,所以我从Heroku.com应用程序网站删除了应用程序,但当然heroku git repo仍然是命令行上应用程序的最新版本。如果我输入git remote -v
,我会得到此输出
heroku git@heroku.com:my_app_name.git (fetch)
heroku git@heroku.com:my_app_name.git (push)
如果完全删除这个git存储库并重新开始将它的新实例部署到Heroku,我想要做什么。有什么建议??
答案 0 :(得分:1)
使用
删除当前的远程引用git remote rm heroku