【问题标题】:heroku git repo changeheroku git repo 更改
【发布时间】:2012-12-09 20:08:57
【问题描述】:
Muhammed-Bhikhas-MacBook-Pro:mashs_wing_ranch BH1KH4$ git remote -v
heroku  git@heroku.com:sleepy-cliffs-9120.git (fetch)
heroku  git@heroku.com:sleepy-cliffs-9120.git (push)
origin  git@heroku.com:gentle-bastion-5131.git (fetch)
origin  git@heroku.com:gentle-bastion-5131.git (push)

当我运行 git remote -v 时,我得到了错误的 heroku 应用程序。那是我以前有的应用程序,如何让sleepy-cliffs-9120.git 更改为我的新应用程序gentle-bastion-5131

【问题讨论】:

    标签: ruby-on-rails ruby git heroku


    【解决方案1】:
    git remote set-url heroku git@heroku.com:gentle-bastion-5131.git
    

    【讨论】:

    • 网址应该是“git@heroku.com:gentle-bastion-5131.git”,而不仅仅是结尾。
    猜你喜欢
    • 2012-05-14
    • 2012-01-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-05-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多