(commit: Union[GitCommitHash, ghstack.submit.DiffMeta])
| 326 | |
| 327 | |
| 328 | def cherry_pick(commit: Union[GitCommitHash, ghstack.submit.DiffMeta]) -> None: |
| 329 | self = CTX |
| 330 | if isinstance(commit, ghstack.submit.DiffMeta): |
| 331 | h = commit.orig |
| 332 | else: |
| 333 | h = commit |
| 334 | self.sh.git("cherry-pick", h, tick=True) |
| 335 | |
| 336 | |
| 337 | def dump_github() -> str: |