Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 424
Brian Avatar asked May 27 '17 02:05

Brian


2 Answers

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.

like image 93
Dayán Ruiz Avatar answered Sep 21 '22 02:09

Dayán Ruiz


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.

like image 36
mondayrris Avatar answered Sep 20 '22 02:09

mondayrris