Deleted and then recreated Github repository can't be cloned
See original GitHub issueDescribe the bug
After deleting and then creating another repository with the same name, I couldn’t clone the new repository in Github Desktop.
Version & OS
Windows 10, Github Desktop version 2.5.6
Steps to reproduce the behavior
- Create repository online
- Delete repository online
- Create new repository using the same name online
- Attempt to clone the new repository
Expected behavior
It should clone the repository just fine.
Actual behavior
I got the message “We couldn’t find that repository. Check that you are logged in, the network is accessible, and the URL or repository alias are spelled correctly.”
Screenshots
Logs
2020-10-26T21:38:03.377Z - warn: [ui] fetchRepository: 'MasquitoWasTaken/masquito-backend' returned a 404
2020-10-26T21:38:03.493Z - warn: [ui] fetchRepository: 'MasquitoWasTaken/masquito-backend' returned a 404
2020-10-26T21:38:03.493Z - info: [ui] [AppStore.getAccountForRemoteURL] no generic credentials found for 'MasquitoWasTaken/masquito-backend'
2020-10-26T21:38:03.494Z - info: [ui] proxy url not resolved, protocol not supported
2020-10-26T21:38:03.568Z - error: [ui] `git -c credential.helper= clone --recursive --progress -- MasquitoWasTaken/masquito-backend C:\Users\Gabriel Pizarro\Documents\GitHub\masquito-backend` exited with an unexpected code: 128.
stderr:
fatal: repository 'MasquitoWasTaken/masquito-backend' does not exist
Additional context
Check out my repository at https://github.com/MasquitoWasTaken/masquito-backend/, it does exist. I can also manually clone the repo from CLI.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Can't delete cloned git repo on my computer? - Stack Overflow
If you cloned it in the wrong directory, try moving it to the right directory. If you finished working with it and wish...
Read more >Learning GitHub Cloning, Deleting, and Recreating Repos
This is the seventh video in the Learning GitHub Series.This video covers how you can create or delete repos both on the GitHub.com...
Read more >Deleting a Local GitHub Repository - GeeksforGeeks
Step 3: Go and click on the delete this repository button and after which you will be prompted to make sure you are...
Read more >Getting started with Git and AWS CodeCommit
After you delete this repository, you won't be able to clone it to any local repo or shared repo. You also won't be...
Read more >How to delete a Git repository - TheServerSide.com
Steps to delete a local Git repo · Open the the local Git repo's root folder · Delete all of the files and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Look at my reply at #10930 , then you can slove this problem!
Nevermind, my issue was that when choosing “Open With GitHub Desktop”, it was not entering the entire URL correctly. I added “.git” at the end and cloned successfully.