'git push heroku master' is still asking for authentication

前端 未结 19 2623
囚心锁ツ
囚心锁ツ 2020-12-02 05:37

I have executed:

$ heroku login

But when I try to push, I\'m still asked for authentication:

$ git push heroku master
Usern         


        
19条回答
  •  爱一瞬间的悲伤
    2020-12-02 06:02

    From the Heroku documentation

    Enter the following commands:

    # Enable SSH authentication
    $ heroku create --ssh-git
    
    # Redirect tall HTTPS calls to SSH
    $ git config --global url.ssh://git@heroku.com/.insteadOf https://git.heroku.com/
    

提交回复
热议问题