I am trying to configure EGit to work with GitHub with https authentication, not ssh by default. (My reason is that I am a teacher, and some of my students do their work from different machines, so it is not convenient to rely on ssh keys stored on disk.) Has anyone got this to work? When I try to execute "Push to Upstream" using https, I get a useless error message "An internal exception occurred during push: https: // espertus@github.com /MillsCollegeMobileAppDev2011/test.git : not authorized."
I use Eclipse 3.6.2 (Helios) with versions 0.11.3 of Eclipse EGit (Incubation), Eclipse EGit - Source (Incubation) and EGit Mylyn (Incubation). My Destination Git Repository Settings:
you need to enter your github account password in:
Authentication
User: espertus
Password: HERE
Save to secure storage: [checked]
enjoy it!:)
, , , github. , .
As Larry Parks mentioned, you will have problems accessing eGit via HTTPS to GitHub when you use two-factor authentication. A workaround is to create a “Toggle Personal Access” and use this instead of your password.
https://help.github.com/articles/creating-an-access-token-for-command-line-use/