-1

The error occurs when i am push or pull my code in github and the error says this - fatal: unable to access 'https://github.com/<your-github-account>/<git-repo-name>/': Could not resolve host: github.com how can we solve this error ??

1 Answers1

-1

The answer lies within the following image:

All I done was sign-in again and this helped me to resume my account in browser that was paused and mainly from where GitHub use that browser to open your GitHub!

Important: Make sure your account you sign-in again is your same account which you had add as git --config global user.email otherwise it browser won't allow to access your GitHub as manual sign-in is required!

Phil Dukhov
  • 67,741
  • 15
  • 184
  • 220