Git Push ERROR: Repository Not Found

761    Asked by AndreaBailey in Tableau , Asked on Nov 16, 2022

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

git push -u origin master

ERROR: Repository not found.

fatal: The remote end hung up unexpectedly

I added the remote:

git remote add origin git@github.com:account-name/repo-name.git

Any ideas?


Answered by Amit jaisawal

Check to see if you have read-write access. The Git error message is misleading. I had a similar issue. I had been added to an existing project. I cloned it and committed a local change. I went to push and got the ERROR: Repository not found. error message.

The person who added me to the project gave me read-only access to the repository. A change by them and I was able to push.



Your Answer

Interviews

Parent Categories