git push heroku master permission denied on VISTA

前端 未结 4 1196
一个人的身影
一个人的身影 2021-02-01 10:10

(Using Vista)I\'m trying to clone an app from my GitHub Repository and push it into Heroku. Okay, so I\'ve tried to create an SSH key so many times with this:

 `         


        
4条回答
  •  日久生厌
    2021-02-01 10:51

    You can login first in heroku providing Enail and Password and can follow the following steps to add a local git repository into a heroku application instance.

    1. Issue this command at the Git Bash $ ssh-keygen -t rsa (default location and with empty passphrase. You can alternatives too).
    2. Again issue at the bash $ heroku keys:add (It will automatically add the public key from the default location).
    3. Issu this at the bash to check keys. $ heroku keys .
    4. You can add the remote for you app name $ heroku git:remote -a app_name
    5. Now you can push the git repo to the heroku using this command $ heroku push origin master

提交回复
热议问题