question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deleted and then recreated Github repository can't be cloned

See original GitHub issue

Describe 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

  1. Create repository online
  2. Delete repository online
  3. Create new repository using the same name online
  4. 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:open
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
CaptainJackeycommented, Nov 25, 2020

Look at my reply at #10930 , then you can slove this problem!

0reactions
chadmkidnercommented, Jun 9, 2022

Look at my reply at #10930 , then you can slove this problem!

I had the same problem as described above. Seems to be similar to #10930 #7634 and other issues. Thank you @CaptainJackey : your advice solved my problem. I wish I would have found a more “elegant” solution, but de-install, re-install is probably the easiest one for a novice like me.

I have a fresh install of GitHub Desktop and still having this issue. Any other suggestions?

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found