Cannot add github as a remote repository

I have a repo on my home git server. I would like to add a remote repo on github. I tried following the instructions, and got cryptic error messages:

charles@hawk:~/versioned/bare.metal$ git remote add github
charles@hawk:~/versioned/bare.metal$ git remote -v
github (fetch)
github (push)
origin	ssh://gitolite/bare.metal (fetch)
origin	ssh://gitolite/bare.metal (push)
charles@hawk:~/versioned/bare.metal$ git push github master
Username for '': charlescurley
Password for '': 
remote: Repository not found.
fatal: repository '' not found

Simple question first: Does that repository already exist on GitHub? I can’t see it on your profile, but that could also be because it’s private. If it doesn’t, you’ll have to create it on GitHub first and then try pushing again.

Ah, thank you. That helped.

Github documentation seems to assume that one is a git guru. I am not.

1 Like

I am a newbie to TortoiseHg.
The problem is the GitHub .com server message:

nskold doesn’t have any public repositories yet.

Please help.
See the .png file below.
My local repositories showed no errors.


version 5.7

with Mercurial-5.7, Python-2.7.18, PyQt-5.13.2, Qt-5.9.9

Thank you,

Arthur Lenskold

(716)444-6675 before 7pm Eastern Daylight Time