git remote set-url origin <url>
to change the URL of the remote repository to <url>
.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"
Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️