diff options
Diffstat (limited to 'doc/guides')
-rw-r--r-- | doc/guides/backporting-to-release-lines.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/guides/backporting-to-release-lines.md b/doc/guides/backporting-to-release-lines.md index 9f48d940cd..07da834e14 100644 --- a/doc/guides/backporting-to-release-lines.md +++ b/doc/guides/backporting-to-release-lines.md @@ -44,6 +44,11 @@ cd $NODE_DIR git fetch upstream v6.x-staging:v6.x-staging -f # Assume we want to backport PR #10157 git checkout -b backport-10157-to-v6.x v6.x-staging +# Ensure there are no test artifacts from previous builds +# Note that this command deletes all files and directories +# not under revision control below the ./test directory. +# It is optional and should be used with caution. +git clean -xfd ./test/ ``` 4. After creating the branch, apply the changes to the branch. The cherry-pick |