我已经安装了rubyinstaller和msysgit,当我尝试将Radiant部署到heroku时,我收到了以下警告消息
$git push heroku master //I use windows
heroku receiving push
!heroku push rejected,repository is empty.
to git@heroku.com:faculty.git
![remote rejected]master->master(pre-receive hook declined)
Error: failed to push some refs to git@heroku.com:faculty.git
当我
$git push git@heroku.com:faculty.git
fatal:Couldn't fine remote ref HEAD
HEAD 确实存在于我之前读过的文件中。
什么时候
$git fetch git@heroku.com:faculty.git
ssh: no address associated with name // ssh key had been generated
fatal: the remote end hung up unexpectedly
如何解决这个问题?谢谢!
毫无疑问,这是您第一次部署此项目?您已经设置了 SSH?
请尝试执行以下步骤:
下载并安装:https://toolbelt.herokuapp.com
然后执行此命令 Heroku 插件: heroku 插件:install git://github.com/ddollar/heroku-accounts.git
项目后面的箭头:Heroku 帐户:添加教职员工 - 自动
尝试命令推送后