0

I was able to use heroku login with my windows power shell successfully. However, when running the latest version of Git Bash and running the same heroku login command, after it asks for my email and I enter it I get the following message: !Login is currently incompatible with git bash/Cygwin/MinGW

Any ideas on how to fix this so I can access Heroku on my Git Bash?

user3117238
  • 19
  • 1
  • 8

2 Answers2

0

A fix is discussed as a github issue here. You may not have the Path properly set. Some indicate success with logging in via cmd first. If logging via windows cmd doesn't work, exit git bash, login on cmd then restart git bash.

vapurrmaid
  • 2,287
  • 2
  • 14
  • 30
0

The answer I posted in reply to Push Changes to Git not Functioning worked for me:

  1. Run heroku login using the windows command prompt cmd.exe. This will drop your API key into your _netrc at which point you can open up cygwin or git bash and do whatever you need to

  2. From .gitconfig remove the helper = manager line so that it is no longer registered as a credential helper and stops it from showing up.

    (in C:\Users\username\.gitconfig )

  3. Rename _netrc file to .netrc on Windows 7 in the user dir:

    cd %home%

    REN _netrc .netrc

see:

'git push heroku master' is still asking for authentication

https://github.com/heroku/cli/issues/84#issuecomment-170689175

TT--
  • 2,956
  • 1
  • 27
  • 46