简体   繁体   中英

git push heroku master getting following error

I'm attempting to deploy my code to heroku with the following command line:

 $ git push heroku master
    Permission denied (publickey).
    fatal: Could not read from remote repository.

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

You need to add your key.

 heroku keys:add ~/.ssh/id_rsa.pub

see this: https://devcenter.heroku.com/articles/keys

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM