Changing a remote repository
suggest changeTo change the URL of the repository you want your remote to point to, you can use the set-url
option, like so:
git remote set-url <remote_name> <remote_repository_url>
Example:
git remote set-url heroku https://git.heroku.com/fictional-remote-repository.git
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents