gh-cherry-pick

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: MIT

README

Description

  • A GitHub CLI extension to cherry-pick a PR's merged commit based on target branch.
  • It will be useful when you are using to cherry-pick a PR, which is merged to the main branch, to the release branch.

Installation

gh extension install 134130/gh-cherry-pick

Usage

  • gh cherry-pick --pr <pr_number> --onto <target_branch> [--merge auto] to cherry-pick a PR based on target branch. It determines the merge strategy based on the original PR's merge strategy.
  • gh cherry-pick --pr <pr_number> --onto <target_branch> --merge squash to cherry-pick a PR's merged commit based on target branch.
  • gh cherry-pick --pr <pr_number> --onto <target_branch> --merge rebase to cherry-pick all the commits from a PR based on target branch.

Directories

Path Synopsis
cmd
gh-cherry-pick command
internal
tui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL