Git Workflow | LanMate User Guide
Using the Qianxin edition of LanMate?View Qianxin Edition User Guide

Git Workflow

In coding mode, LanMate provides full Git integration.

Branches

Agent-created branches default to the lanmate/ prefix (configurable in settings).

Commits

Commit the recent changes with a conventional message

Agent generates compliant commit messages (customizable guidance in settings).

Review Panel

Right panel “Review” tab (coding mode):

Changes View

History View

Character-lane commit graph: branch topology visualized with short hash, branch/tag badges, title, and relative time.

AI Code Review

Click “AI Review”:

  1. Agent fetches branch diff + uncommitted changes
  2. Calls the review model (read-only constraint)
  3. Outputs structured findings (P0-P3 priority)
  4. Gives ship / ship_with_fixes / block verdict
  5. Findings can be sent back to the dev session as follow-ups

Before merging, coding tasks automatically run an adversarial review pass that looks for problems from the opposite angle, catching common regressions before changes go in.

Worktree Isolation

Parallel tasks stay out of each other’s way: switch the composer to “New worktree” and the task runs in a dedicated Git worktree, merged back into the base branch via AI Merge when done. See Git Worktrees.

GitHub Integration

Settings > Git > GitHub Connect:

Settings

Setting Default
Branch prefix lanmate/
PR merge method merge
Force push Off (uses --force-with-lease when on)
Draft PR On
Commit message guide Empty (customizable)