You can update the URL for a remote Git repository using the command below.

If the name of the remote you want to update is different, use that instead of ‘origin’ when changing the URL.

Categorized in:

Tagged in: