|
7 | 7 | Usage (from a cloned CPython directory): |
8 | 8 |
|
9 | 9 | ``` |
10 | | -Usage: cherry_picker [OPTIONS] [COMMIT_SHA1] [BRANCHES]... |
11 | | -
|
12 | | - cherry-pick COMMIT_SHA1 into target BRANCHES. |
13 | | -
|
14 | | -Options: |
15 | | - --version Show the version and exit. |
16 | | - --dry-run Prints out the commands, but not executed. |
17 | | - --pr-remote REMOTE git remote to use for PR branches |
18 | | - --upstream-remote REMOTE git remote to use for upstream branches |
19 | | - --abort Abort current cherry-pick and clean up branch |
20 | | - --continue Continue cherry-pick, push, and clean up branch |
21 | | - --status Get the status of cherry-pick |
22 | | - --push / --no-push Changes won't be pushed to remote |
23 | | - --auto-pr / --no-auto-pr If auto PR is enabled, cherry-picker will |
24 | | - automatically open a PR through API if GH_AUTH |
25 | | - env var is set, or automatically open the PR |
26 | | - creation page in the web browser otherwise. |
27 | | - --config-path CONFIG-PATH Path to config file, .cherry_picker.toml from |
28 | | - project root by default. You can prepend a colon- |
29 | | - separated Git 'commitish' reference. |
30 | | - -h, --help Show this message and exit. |
| 10 | +usage: cherry_picker [-h] [-V] [--dry-run] [--pr-remote REMOTE] |
| 11 | + [--upstream-remote REMOTE] [--abort | --continue] |
| 12 | + [--status] [--push | --no-push] |
| 13 | + [--auto-pr | --no-auto-pr] [--config-path CONFIG-PATH] |
| 14 | + [commit_sha1] [branches ...] |
| 15 | +
|
| 16 | +cherry-pick commit_sha1 into target branches. |
| 17 | +
|
| 18 | +positional arguments: |
| 19 | + commit_sha1 |
| 20 | + branches |
| 21 | +
|
| 22 | +options: |
| 23 | + -h, --help show this help message and exit |
| 24 | + -V, --version show program's version number and exit |
| 25 | + --dry-run Prints out the commands, but not executed |
| 26 | + --pr-remote REMOTE Git remote to use for PR branches |
| 27 | + --upstream-remote REMOTE |
| 28 | + Git remote to use for upstream branches |
| 29 | + --abort Abort current cherry-pick and clean up branch |
| 30 | + --continue Continue cherry-pick, push, and clean up branch |
| 31 | + --status Get the status of cherry-pick |
| 32 | + --push, --no-push Changes won't be pushed to remote |
| 33 | + --auto-pr, --no-auto-pr |
| 34 | + If auto PR is enabled, cherry-picker will |
| 35 | + automatically open a PR through API if |
| 36 | + GH_AUTH env var is set, or automatically open |
| 37 | + the PR creation page in the web browser otherwise. |
| 38 | + --config-path CONFIG-PATH |
| 39 | + Path to config file, .cherry_picker.toml from |
| 40 | + project root by default. You can prepend a colon- |
| 41 | + separated Git 'commitish' reference. |
31 | 42 | ``` |
32 | 43 |
|
33 | 44 | ## About |
|
0 commit comments