我需要删除现有的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/