Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in DevOps and Agile by (19.4k points)

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 [email protected]:account-name/repo-name.git

Any ideas?

1 Answer

0 votes
by (27.5k points)

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

$ git clone https://yourusername:[email protected]/path_to/myRepos.git

...