I create a new project in IntelliJ IDEA
Via the menu, I go to VCS -> Import into Version Control -> Share project on GitHub
Enter a new repository name and click Share
It authenticates with GitHub ok
When I try to push to GitHub, a login window opens that says "Login to https://github.com/[email protected]/GitHubTest2.git"
The default login is github.com/my_username. I try to login with that login and my GitHub.com password and authentication fails. I also try to login with my GitHub.com login (i.e. [email protected]) and my GitHub.com password.
After 3 tries, I get the following error message:
Push to GitHub failed Push authorization failure: Couldn't authorize
Why does it authenticate with GitHub with my GitHub.com login/password but not when it tries to push the project to GitHub?
The following worked for me:
In IntelliJ:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With