Gaurav0 / backport

🔙 GitHub Action to backport pull requests
7 stars 7 forks source link

Backport bot title #12

Closed Gaurav0 closed 4 years ago

github-actions[bot] commented 4 years ago

The backport to beta failed:

The process 'git' failed with exit code 128

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-beta beta
# Navigate to the new working tree
cd .worktrees/backport-beta
# Create a new branch
git switch --create backport-12-to-beta
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick 5c65fd514d0e4087b018141c394104a0b2bb23b6
# Push it to GitHub
git push --set-upstream origin backport-12-to-beta
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-beta

Then, create a pull request where the base branch is beta and the compare/head branch is backport-12-to-beta.