Skip to content

Commit 062c6cf

Browse files
authored
Update README.md
1 parent 38adf86 commit 062c6cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
## Description
2+
23
- A GitHub CLI extension to cherry-pick a PR's merged commit based on target branch.
34
- It will be useful when you are using to cherry-pick a PR, which is merged to the main branch, to the release branch.
45

6+
![image](https://github.com/user-attachments/assets/bd95beeb-3366-46a4-b1de-c4825c7f6fc5)
7+
8+
59
## Installation
10+
611
```shell
712
gh extension install 134130/gh-cherry-pick
813
```
914

1015
## Usage
16+
1117
- `gh cherry-pick -pr <pr_number> -onto <target_branch> [-merge auto|squash|rebase] [-push]` to cherry-pick a PR based on target branch. It determines the merge strategy based on the original PR's merge strategy.
1218
- `gh cherry-pick -pr <pr_number> -onto <target_branch> -merge squash` to cherry-pick a PR's merged commit based on target branch.
1319
- `gh cherry-pick -pr <pr_number> -onto <target_branch> -merge rebase` to cherry-pick all the commits from a PR based on target branch.

0 commit comments

Comments
 (0)