2014-02-23 145 views
0

我已經成功地使用heroku create創建,但是當我從混帳推給了我如下錯誤: -Git推heroku master錯誤?

C:\Sites\boot>git push heroku master 

! Your account [email protected] does not have access to protected-thicket-253 
8. 
! 
! SSH Key Fingerprint: 6e:d8:39:da:45:ad:b5:b2:e5:36:2e:14:0e:92:b5:8e 

fatal: Could not read from remote repository. 

Please make sure you have the correct access rights 
and the repository exists. 
+0

給結果運行:** git remote -v ** – alex

回答

0

我會建議得到最新版本的Heroku Toolbelt,然後再添加庫:

$ heroku login 
Enter your Heroku credentials. 
Email: [email protected] 
Password: 
Could not find an existing public key. 
Would you like to generate one? [Yn] 
Generating new SSH public key. 
Uploading ssh public key /Users/adam/.ssh/id_rsa.pub 

git remote -v 
git remove heroku master 

heroku git:remote -a protected-thicket-253 
1

您需要將您的ssh密鑰添加到heroku。要添加你的鑰匙運行以下命令

heroku keys:add 

如果你沒有那麼鍵生成

ssh-keygen -t rsa 

一個新的密鑰,然後添加SSH密鑰對Heroku的