Set the URL for a remote
(self, name: str, url: str)
| 507 | check_error(err) |
| 508 | |
| 509 | def set_url(self, name: str, url: str) -> None: |
| 510 | """Set the URL for a remote""" |
| 511 | err = C.git_remote_set_url(self._repo._repo, to_bytes(name), to_bytes(url)) |
| 512 | check_error(err) |
| 513 | |
| 514 | def set_push_url(self, name: str, url: str) -> None: |
| 515 | """Set the push-URL for a remote""" |