Updating git repo name

I just changed the name of my github repo and now my local repo (as expected) can’t find it. How do I update the name, or am I just supposed to treat it as a new remote repo?

  • Check if Git has changes programmatically
  • Git conflict with pull --rebase on unrelated file
  • Issue while trying to open a Maven project via Git in Eclipse Luna
  • Is it a good idea to branch and merge just to create an integration branch for CI testing?
  • How to connect OpenShift with a private BitBucket Repository
  • Git: How to revert a force push
  • Install git via homebrew on mac osx 10.10 results in: Error: Permission denied - /usr/local/lib/perl5/site_perl/5.18.2
  • How to undo a successful “git cherry-pick”?
  • Integrate private files for open source application code in devops pipeline
  • Permission denied (publickey) - Cant push or pull with Git
  • How can I cut down a git bisect run using file paths?
  • Synchronizing databases between testing and production environment with git
  • One Solution collect form web for “Updating git repo name”

    From how I read this my understanding is that you changed the name of your repository (which changed the URL for it) and now you want to update the URL to match the new repository location.

    You can use git remote set-url <remote-name> <new-url> to switch the URL for an existing remote repo.

    Git Baby is a git and github fan, let's start git clone.