github desktop error “The repository does not seem to exist anymore. You may not have access, or it may have been deleted or renamed.”

Viewed 33287

I have installed GitHub Desktop as the uploaded local project tool, I uploaded a project "F:/test", and it could show successful in my GitHub homepage, then I delete this repository.

But I re-publish this project to GitHub.

show repo

Github Desktop shows this history of the repository, and prompt error

 The repository does not seem to exist anymore. 
 You may not have [enter access, or it may have been deleted or renamed

history with error message

How can I get past this error message?

8 Answers

This error was keeps on occurring to me. Turn out I was not added as the Contributor on the GitHub project.

The repo owner should be able to see and list of Contributor for the project. You can request him to add you in contributor list and this error will disappear.

I was facing the same issue, I simply sign out from Github Desktop app in File > options > Signout

In my case I accidentally changed the push Url, so I executed:

git remote set-url --push origin https://github.com/username/repo.git

After that I checked with:

git remote show origin

your Fetch Url and Push Url must look like the same URL where you cloned the project.

I had the same issue. I deleted my repository from remote as well and then recreated.

If you aren't worried about the change trace being lost, then you can simply remove the .git folder (you will need to enable hidden files in windows) and then re-initialize the repository in the project folder.

This resolved the problem for me!

In my case I have used more than one account. Just sign out from GitHub Desktop and sign in back to the specific account. You might sign out any logged GitHub session on the default web browser if the account is not what you want.

Since I had a forked repository, I had spelled my url wrong in

github desktop -> repository -> repository settings...

I had a link called github.com/myname/myproject.it

but instead of it I hade to write git.

github.com/myname/myproject.git

I was logged in with the wrong account! I had to sign out of Github in the browser first, then sign out in Github Desktop and re-sign in

Related