Muhammed-Bhikhas-MacBook-Pro:mashs_wing_ranch BH1KH4$ git remote -v
heroku <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="7f18160b3f171a0d10140a511c1012" rel="noreferrer noopener nofollow">[email protected]</a>:sleepy-cliffs-9120.git (fetch)
heroku <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="03646a77436b66716c68762d606c6e" rel="noreferrer noopener nofollow">[email protected]</a>:sleepy-cliffs-9120.git (push)
origin <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="d0b7b9a490b8b5a2bfbba5feb3bfbd" rel="noreferrer noopener nofollow">[email protected]</a>:gentle-bastion-5131.git (fetch)
origin <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4d2a24390d25283f222638632e2220" rel="noreferrer noopener nofollow">[email protected]</a>:gentle-bastion-5131.git (push)
当我运行 git remote -v 时,我得到了错误的 heroku 应用程序。这是我以前拥有的应用程序,如何将 sleepy-cliffs-9120.git
更改为我的新应用程序 gentle-bastion-5131
?
最佳答案
git remote set-url heroku <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="b7d0dec3f7dfd2c5d8dcc299d4d8da" rel="noreferrer noopener nofollow">[email protected]</a>:gentle-bastion-5131.git
关于ruby-on-rails - heroku git repo 更改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14003790/