'git push heroku master' is still asking for authentication

前端 未结 19 2591
囚心锁ツ
囚心锁ツ 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

    Renaming the _netrc file to .netrc on Windows 7 in the userdir worked for me.

    ..after trying all the steps in many other tutorials.

    Run the 3rd command in cmd in your userdir or the whole combo:

    setx HOME %USERPROFILE%
    cd %HOME%
    REN _netrc .netrc
    

提交回复
热议问题