heroku - Heroku Remote 不会删除

标签 heroku command-line

我需要删除现有的Heroku Remote 。我之前已经做过,但是这次似乎没有任何作用。我已经搜索了选项,并尝试了其他帖子中的解决方案,但感觉就像是在兜圈子。这是我所拥有的:

$ git remote -v
heroku  git@heroku.com:radiant-journey-2028.git (fetch)
heroku  git@heroku.com:radiant-journey-2028.git (push)

我试过了:
$ git rm -rf heroku
$ git rm -rf heroku remote
$ rm heroku remote

但是,我得到的只是(或这些响应的变体):
fatal: pathspec 'heroku' did not match any files
rm: heroku: No such file or directory
rm: remote: No such file or directory

我想念什么?

最佳答案

使用以下命令可以在git中删除远程对象:

git remote rm heroku

关于heroku - Heroku Remote 不会删除,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21760608/

相关文章:

java - 使用 utf-8 代码页的 Windows 命令行问题

wordpress - 适用于 WordPress 博客的 Heroku Procfile

java - 如何在不构建项目两次的情况下通过 Travis CI 部署到 Heroku?

reactjs - 错误 : Cannot find module 'react-dev-utils/getPublicUrlOrPath'

c - 整数值和负值的 getopt 错误处理

linux - 仅查找从当前目录开始且设置了 setuid 位的文件

php - 启动和停止(命令行)程序并获取其输出

logging - 如何在 Heroku 上启用 Padrino 应用程序的日志记录?

node.js - Express API端点路由部署到Heroku时返回404,在本地工作

git - 在git repo中获取文件的最后修改日期