diff --git a/Bot-commands.md b/Bot-commands.md index 001b43f..043d279 100644 --- a/Bot-commands.md +++ b/Bot-commands.md @@ -92,6 +92,21 @@ usage: @pytorchbot drci Update Dr. CI. Updates the Dr. CI comment on the PR in case it's gotten out of sync with actual CI results. ``` +## Cherry pick +This allows you to easily generate cherry picks on the release branch, including updating the release cherry pick tracker. +``` +usage: @pytorchbot cherry-pick --onto ONTO [--fixes FIXES] -c + {regression,critical,fixnewfeature,docs,release} + +Cherry pick a pull request onto a release branch for inclusion in a release + +optional arguments: + --onto ONTO Branch you would like to cherry pick onto (Example: release/2.1) + --fixes FIXES Link to the issue that your PR fixes (Example: https://github.com/pytorch/pytorch/issues/110666) + -c {regression,critical,fixnewfeature,docs,release}, --classification {regression,critical,fixnewfeature,docs,release} + A machine-friendly classification of the cherry-pick reason. +``` + # Other