Skip to content
Discussion options

You must be logged in to vote

Here's how you can address this issue you are facing:

  1. Check the current remote repository:
    You can check which remote repositories are currently configured in your local Git repository by running:

    git remote -v
  2. Remove the existing remote origin:
    If you see an existing remote origin that you don't need, you can remove it using:

    git remote remove origin
  3. Add the new remote origin:
    After removing the old remote origin, you can add a new one using:

    git remote add origin https://github.com/username/repository-name.git

Regarding the repository name availability on GitHub:

  • Once you delete a repository from GitHub, the name becomes immediately available for reuse. You can create a new rep…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@dknapp67
Comment options

@davevad93
Comment options

Comment options

You must be logged in to vote
3 replies
@dknapp67
Comment options

@rudimusmaximus
Comment options

@rudimusmaximus
Comment options

Answer selected by dknapp67
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage Question Ask and answer questions about GitHub features and usage
4 participants