Git推heroku master错误?

问题描述:

我已经成功地使用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

我会建议得到最新版本的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 

您需要将您的ssh密钥添加到heroku。要添加你的钥匙运行以下命令

heroku keys:add 

如果你没有那么键生成

ssh-keygen -t rsa 

一个新的密钥,然后添加SSH密钥对Heroku的