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
- All modified files (added/modified/deleted/renamed)
- Click for line-by-line diff
- Stage/unstage, commit, push/pull, branch switching
- Create PR (opens GitHub/GitLab compare page)
- Generate patch files
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”:
- Agent fetches branch diff + uncommitted changes
- Calls the review model (read-only constraint)
- Outputs structured findings (P0-P3 priority)
- Gives ship / ship_with_fixes / block verdict
- 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:
- OAuth browser authorization
- Agent can operate PRs, Issues, and CI after login
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) |