git remote set-url <name> <newurl> [oldurl]
Changes the URLs for the remote
Arguments
Name | Description |
---|---|
name | |
newurl | |
oldurl |
Options
Name | Description |
---|---|
--push | Push URLs are manipulated instead of fetch URLs |
--add | Instead of changing existing URLs, new URL is added |
--delete | Instead of changing existing URLs, all URLs matching regex <url> are deleted for remote <name> |