2012-05-21 43 views
2

我已經安裝了rubyinstaller和msysgit,當我試圖部署輻射到Heroku的,我得到以下警告消息當Git的告訴你它未能推動一些裁判,

$git push heroku master //I use windows 
    heroku receiving push 
!heroku push rejected,repository is empty. 
    to [email protected]:faculty.git 
![remote rejected]master->master(pre-receive hook declined) 
Error: failed to push some refs to [email protected]:faculty.git 

,當我

$git push [email protected]:faculty.git 
fatal:Couldn't fine remote ref HEAD 

HEAD確實存在於我之前閱讀的文件中。

$git fetch [email protected]:faculty.git 
    ssh: no address associated with name // ssh key had been generated 
    fatal: the remote end hung up unexpectedly 

如何解決這個問題呢?謝謝!

回答

1

只有懷疑,這是你第一次部署這個項目?你已經設置了SSH?

可以嘗試以下步驟:

下載並安裝:https://toolbelt.herokuapp.com

然後執行此命令的Heroku插件:插件的Heroku:安裝的git://github.com/ddollar/heroku-accounts.git

工程之後

箭頭:Heroku的帳戶:增加教師 - 嘗試命令後推汽車

+0

如何做條命令的Heroku插件嗎?你能簡單地列出它們嗎?提前致謝! – Ethan

+0

因此,只需運行以下命令:「heroku插件:安裝git://github.com/ddollar/heroku-accounts.git」,這是在Heroku上管理多個帳戶[更多詳情](https://github.com/ ddollar/Heroku的賬戶/樹/ e1ccdea3f13479aff11df3176c0245bb60855f67) – Tiago

相關問題