Changing a remote repository

suggest change

To 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

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents