不能推到heroku [英] not able to push to heroku

查看:104
本文介绍了不能推到heroku的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个完整的新bie to heroku
我刚刚安装了heroku工具栏并执行了下面的操作

  $ heroku创建
创建pure-oasis-4419 ...完成,堆叠是cedar
http://pure-oasis-4419.herokuapp.com/ | git@heroku.com:pure-oasis-4419.git
$ heroku create --stack cedar
创建mighty-stream-7975 ...完成,堆叠为cedar
http:// mighty-stream-7975.herokuapp.com/ | git@heroku.com:mighty-stream-7975.git
$ git push heroku master
致命:我不处理协议'git@heroku.com:https'

任何人都可以告诉我为什么我收到这个错误。

我也试过

  git remote -v 

我仍然得到

 致命:我不处理协议'git @ heroku。 com:https'

我确定我在某处出错了。任何人都可以帮助我解决这个问题。

/ li>
  • 开始处理代码。


  • git commit -m提交消息

  • > git push


  • I am a complete new bie to heroku I just installed heroku toolbar and performed the below operation

    $ heroku create
    Creating pure-oasis-4419... done, stack is cedar
    http://pure-oasis-4419.herokuapp.com/ | git@heroku.com:pure-oasis-4419.git
    $ heroku create --stack cedar
    Creating mighty-stream-7975... done, stack is cedar
    http://mighty-stream-7975.herokuapp.com/ | git@heroku.com:mighty-stream-7975.git
    $ git push heroku master
    fatal: I don't handle protocol 'git@heroku.com:https'
    

    Can any one please tell me why i am getting this error.

    I also tried

    git remote -v
    

    Still I get

    fatal: I don't handle protocol 'git@heroku.com:https'
    

    I am sure i have a mistake somewhere. Could any one help me with this.

    解决方案

    • git pull the source code to your device.
    • start working on the code. Or just rewrite them with yours.
    • git add .
    • git commit -m "commit message"
    • git push

    这篇关于不能推到heroku的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆