Search code examples
eclipsegitgithubegitgithub-for-mac

Github Authentication


I apologize if this is a newbie question. I have been working on trying to get a few projects on GitHub for hours.

I am logged in to the application:

enter image description here

But whenever I try to push or pull I get:

enter image description here

I was initially trying to connect on Eclipse but was running into authentication errors as well. What am I doing wrong?


Solution

  • Make sure:

    • your remote repo references the remote repo read-write address https://github.com/DavidTunnell/delivery-driver-wage-calculator.git,
    • check if GitHub did register an ssh key in your GitHub admin ssh section.
      That key should be named GitHub for Mac - yourHostname.
    • don't forget to add your GitHub username and email in the "GitHub for Mac" options section.