Commit Graph

5 Commits

Author SHA1 Message Date
Jerop Kipruto
94ce4aba8b feat(worktree): add Git worktree support for isolated parallel sessions
Introduces a central Git worktree management system to enable isolated, parallel agent orchestration. This allows running multiple Gemini sessions on different branches within the same repository without file contention.

Key Features:
- Added 'WorktreeService' in @google/gemini-cli-core to manage creation, lifecycle, and cleanup of Git worktrees.
- Implemented smart cleanup logic that detects untracked files and new commits, automatically preserving worktrees with uncommitted work.
- Added '--worktree' (-w) flag to the CLI to launch sessions in fresh, isolated environments.
- Enhanced the session exit experience with detailed status messages and instructions for resuming work in preserved worktrees.
2026-03-18 14:23:08 -04:00
Dmitry Lyalin
d41735d6a9 feat(cli): unify /chat and /resume command UX (#20256) 2026-03-08 22:50:51 +00:00
Jerop Kipruto
fca29b0bd8 fix(plan): clean up session directories and plans on deletion (#20914) 2026-03-03 14:11:25 +00:00
Jenna Inouye
c7237f0c79 Docs: Refresh docs to organize and standardize reference materials. (#18403) 2026-02-13 22:09:17 +00:00
bl-ue
d0b6701fba docs(sessions): add documentation for chat recording and session management (#13667) 2025-11-25 18:55:29 +00:00