Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The backport to 0-20-0 failed #305 #307

Closed
desimone opened this issue Jan 13, 2023 · 0 comments
Closed

The backport to 0-20-0 failed #305 #307

desimone opened this issue Jan 13, 2023 · 0 comments
Labels

Comments

@desimone
Copy link
Collaborator

          The backport to `0-20-0` 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-0-20-0 0-20-0
# Navigate to the new working tree
cd .worktrees/backport-0-20-0
# Create a new branch
git switch --create backport-305-to-0-20-0
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick --mainline 1 6be61603f453d76221f22e7326c7b8145bb4a6f4
# Push it to GitHub
git push --set-upstream origin backport-305-to-0-20-0
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-0-20-0

Then, create a pull request where the base branch is 0-20-0 and the compare/head branch is backport-305-to-0-20-0.

Originally posted by @backport-actions-token[bot] in #305 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant