-
Notifications
You must be signed in to change notification settings - Fork 202
Rebase and merge
Dianjin Wang edited this page Feb 2, 2026
·
2 revisions
GitHub may show:
This branch cannot be rebased due to conflicts
This does NOT mean your pull request is broken. This typically happens when you have a large pull request with more than 100 commits or duplicated histories. It only affects GitHub’s UI merge method. We can merge via CLI.
Note
This workflow requires committer push access.
For Apache Cloudberry release branches (e.g., REL_2_STABLE), we prefer a controlled and reproducible merge process.
Manual merging allows us to:
- Preserve release branch stability
- Keep CI traceability
- Handle large PRs that GitHub UI cannot rebase automatically
- Target branch:
REL_2_STABLE - PR branch:
pr-branch - You have push access to the Apache Cloudberry repository
git clone [email protected]:apache/cloudberry.git
cd cloudberrygit fetch origin pull/pr-id/head:pr-branch
git checkout pr-branchRebase PR onto the target branch (Recommended. This rewrites the PR branch history. Resolve conflicts if any.):
git rebase origin/REL_2_STABLEgit checkout REL_2_STABLE
git pull origin REL_2_STABLEgit merge pr-branch --no-ffgit push origin REL_2_STABLE