我需要刪除現有的Heroku遙控器。我之前完成了這個工作,但這一次似乎並沒有工作。我已經搜索了一些選項,並嘗試了其他帖子的解決方案,但我覺得我正在圈選。下面是我有:Heroku遙控器不會刪除
$ git remote -v
heroku [email protected]:radiant-journey-2028.git (fetch)
heroku [email protected]: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
我缺少什麼?
我找到了正確的答案我張貼30秒後。如果它可以幫助其他人,正確的命令是:$ git remote rm heroku – sos12