Mrkopz
Mrkopz

Reputation: 1

Cannot push on GitHub ERROR: Repository not found

I am having a very strange problem with git and github. When I try and push, I am getting

git push -u origin fix-validation
ERROR: Repository not found.
fatal: Could not read from remote repository.

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

I added the remote

[email protected]:account-name/repo-name.git

Upvotes: 0

Views: 345

Answers (1)

zrrbite
zrrbite

Reputation: 1260

Looks like you're acessing the remote through ssh. Make sure you have your ssh configuration working (You've generated a key-pair and copied the public key to your github account).

Easiest thing to try is to add the https:// equivalent as a remote instead.

Upvotes: 1

Related Questions