How Long Before I Can Reuse a Repository Name #131258
-
Select Topic AreaQuestion BodyI've deleted a repository. I am trying to create a repository from my Debian box, and keep receiving the error "remote origin already exists." I currently have no repositories on my github profile. How long before I can use that name again? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi @dknapp67 , I think about an hour, but I'm not totally sure, I say that because that's the waiting time needed to restore a deleted repo as stated in the docs:
So I guess that's how long it takes for GitHub to list a repo as deleted. |
Beta Was this translation helpful? Give feedback.
-
Here's how you can address this issue you are facing:
Regarding the repository name availability on GitHub:
Here is a step-by-step guide to create a new repository and link it to your local directory:
By following these steps, you should be able to resolve the "remote origin already exists" error and successfully link your local repository to the new GitHub repository. hope it was helpful |
Beta Was this translation helpful? Give feedback.
-
hey @dknapp67 am happy it helped. |
Beta Was this translation helpful? Give feedback.
Here's how you can address this issue you are facing:
Check the current remote repository:
You can check which remote repositories are currently configured in your local Git repository by running:
Remove the existing remote origin:
If you see an existing remote origin that you don't need, you can remove it using:
Add the new remote origin:
After removing the old remote origin, you can add a new one using:
Regarding the repository name availability on GitHub: