'git push heroku master' is still asking for authentication

前端 未结 19 2582
囚心锁ツ
囚心锁ツ 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 05:44

    You have probably logged into heroku in two terminals, and if you try to run a command on first terminal, it will report such error, as new authentication was made in the second terminal.

    Either login again with heroku login and run commands in that terminal, or run commands in that second window (if you have it still open).

提交回复
热议问题