--- title: Change the remote URL type: snippet tags: [repository] author: chalarangelo cover: rocky-lake dateModified: 2021-04-13T21:10:59+03:00 --- Changes the URL of the remote repository. - Use `git remote set-url origin ` to change the URL of the remote repository to ``. ```shell git remote set-url origin ``` ```shell 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" ```