Github desktop pushes to remote origin but fetch fails

38 views Asked by At

I am having an issue with GitHub Desktop. For some reason, I am able to successfully push my changes to my remote origin but each time I do, I get this error message, telling me it was unable to fetch from origin.

From https://github.com/my-company-organization/my-repo

I've checked to see if my remote origin is correctly set up by running git remote -v in the command line and it looks correct to me:

git remote -v
origin  https://github.com/my-company-organization/my-repo.git (fetch)
origin  https://github.com/my-company-organization/my-repo.git (push)

However, if I try pushing using the command line, I get this error:remote: Repository not found.

This is the second time this has happened to me in the last couple of days and the way I initially fixed it was by deleting my repo locally and cloning it again from GitHub.

Now that it has happened again I would like to see if someone else has had this issue and how did they solve it because I wouldn't like to have to delete it and clone it again.

Thanks in advance!

0

There are 0 answers