Add a push refspec (str) to the remote
(self, name: str, refspec: str)
| 525 | check_error(err) |
| 526 | |
| 527 | def add_push(self, name: str, refspec: str) -> None: |
| 528 | """Add a push refspec (str) to the remote""" |
| 529 | |
| 530 | err = C.git_remote_add_push(self._repo._repo, to_bytes(name), to_bytes(refspec)) |
| 531 | check_error(err) |