Change the remote URL
Git, Repository · Apr 13, 2021
Changes the URL of the remote repository.
git remote set-url origin <url>to change the URL of the remote repository to
git remote set-url origin <url>
git remote set-url origin https://github.com/30-seconds/30-seconds-of-code # The remote URL is now "https://github.com/30-seconds/30-seconds-of-code"
Written by Angelos Chalaris
If you want to keep in touch, follow me on GitHub.