无法推送到heroku

时间:2012-12-02 05:17:48

标签: heroku

我是heroku的全新bie 我刚刚安装了heroku工具栏并执行了以下操作

$ 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'

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

我也试过

git remote -v

我还是

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

我确定我在某个地方犯了错误。任何人都可以帮助我。

2 个答案:

答案 0 :(得分:2)

  • git将源代码提取到您的设备。
  • 开始处理代码。或者只是用你的内容重写它们。
  • git add。
  • git commit -m“commit message”
  • git push

答案 1 :(得分:0)

这可能是因为你的Git版本。尝试使用旧问题git error: cannot handle https

中建议的最新版本
相关问题