Git Push ERROR: Repository not found

3.7K    Asked by GayatriJaiteley in Tableau , Asked on Jul 10, 2021

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 David WHITE

 In order to solve this issue include your username and password in the repo url:

  $ git clone https://yourusername:yourpassword@github.com/path_to/myRepos.git

Note: (git push repository not found) status code indicates that the origin server did not find a current representation for the target resource



Your Answer

Interviews

Parent Categories