Reading the branch indicators
The Git Panel surfaces two counters:- Ahead (↑ X) — your task branch has X commits the target branch (usually
main) doesn’t have. These are what merge will deliver. - Behind (↓ Y) — the target branch has Y commits your task branch hasn’t picked up yet. Relipa Kanban blocks merge while this is > 0.
Three-step happy path
Confirm the target branch
Make sure Target Branch in the Git Panel points at the branch you want to
merge into. Use Change Target if it’s wrong.
Rebase if Behind > 0
Relipa Kanban uses squash merge, so you must lift your work onto the latest
target. Click Rebase until Behind = 0.
Common errors
"Cannot merge: base branch is X commits ahead..."
"Cannot merge: base branch is X commits ahead..."
Your branch is missing commits that exist on
main. Click Rebase (step 2
above) to fast-forward your work on top."Nothing to commit, working tree clean"
"Nothing to commit, working tree clean"
What you’re trying to merge is already on
main — usually because Merge was
clicked twice, or a rebase landed the work as part of the squash. If the files
exist on main, you’re done. If you edited files manually outside the agent,
remember to click Commit in the Git Panel before merging.Files disappear after merge / rebase
Files disappear after merge / rebase
A rebase conflict was resolved incompletely, or you’re looking at an old
worktree. Stay in the project root and use
git reflog to recover the lost
commit.Tips
- One task → one merge. Once a task branch is squash-merged, close the task.
Start a new task from
mainfor follow-up work — don’t reuse the merged branch. - Commit hand edits. If you edited files manually (not via the agent), click Commit in the Git Panel before merging.
- Prefer PRs. When the project is connected to GitHub or GitLab, use Create PR instead of merging directly — it’s safer and easier to audit.