我正在使用Ubuntu 10.04.按照这里的教程,我创建了Heroku帐户,成功安装了GIT和Heroku.我已经上传了SSH密钥并将heroku添加到我的系统PATH中.
之后,我做了以下事情:
---------- FIRST(成功)-------------
$ cd PATH/TO/MY_APP
$ git init
Initialized empty Git repository in .git/
$ touch HELLO
$ git add .
$ git commit -m "Add a HELLO file"
Run Code Online (Sandbox Code Playgroud)
------------那么(成功)----------
$ heroku create
Enter your Heroku credentials.
Email: joe@domain.com
Password:
Uploading ssh public key /Users/joe/.ssh/id_rsa.pub
Created http://high-sunrise-58.heroku.com/ | git@heroku.com:high-sunrise-58.git
Git remote heroku added
Run Code Online (Sandbox Code Playgroud)
-----------最后一次(哪次失败!!!)----------
$ git push heroku master
Warning: Permanently added the RSA host key for IP address …Run Code Online (Sandbox Code Playgroud)