Loading...
Loading...
Help backport PRs to release branches using the backport CLI tool. Use when backporting changes that have merge conflicts requiring manual resolution.
npx skill4agent add cockroachdb/cockroach backport-pr-assistantbackport <pull-request>... # Backport entire PR(s)
backport <pr> -r <release> # Target specific release (e.g., -r 23.2)
backport <pr> -b <branch> # Target specific branch (e.g., -b release-23.1.10-rc)
backport <pr> -j "justification" # Add release justification
backport <pr> -c <commit> -c <commit> # Cherry-pick specific commits only
backport <pr> -f # Force operationbackport --continue # Resume after resolving conflicts
backport --abort # Cancel in-progress backportbackport 23437 # Simple backport
backport 23437 -r 23.2 # To release-23.2 branch
backport 23437 -j "test-only changes" # With justification
backport 23437 -b release-23.1.10-rc # To specific release candidate branchbackport <pr> -r <release>git addbackport --continueghgit add <files>backport --continue