Closed JoshMock closed 1 week ago
The backport to 8.16
failed:
The process '/usr/bin/git' failed with exit code 1
To backport manually, run these commands in your terminal:
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-8.16 8.16
# Navigate to the new working tree
cd .worktrees/backport-8.16
# Create a new branch
git switch --create backport-2475-to-8.16
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 36cfacc409153a5d5c32ad65cb03bba5a309f8fe
# Push it to GitHub
git push --set-upstream origin backport-2475-to-8.16
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.16
Then, create a pull request where the base
branch is 8.16
and the compare
/head
branch is backport-2475-to-8.16
.
Fixes https://github.com/elastic/elasticsearch-js/issues/2466