Development Tools Introduction to Git GitHub and Other Remote Repositories Pushing Commits to GitHub

Sharon McGovern
Sharon McGovern
6,601 Points

Git push -u not working...I'm not sure what I'm doing wrong

Everything has worked great until now... I entered git remote add origin https://... and this was the output

treehouse:~/workspace/medals$ git push -u origin master
ssh: Could not resolve hostname https: Name or service not known
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

any help is much appreciated!

1 Answer

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 89,667 Points

That looks like a problem with connectivity, either a temporary problem with the GitHub server itself or your own connection. A problem like this can usually sort itself in minutes if it hasn't already so keep trying. :-)