"Could not resolve host: github.com" error when trying to run "git pull" in iTerm2

I ran into this error when trying to pull the latest contents of a repository in iTerm2. Removing the origin and re-adding it did not resolve the issue. However, restarting iTerm2 completely resolved the issue.

1 Answer

Quitting out of iTerm2 and restarting it completely resolved the issue.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like