Gemini CLI is Google’s command-line interface for Gemini AI. Entire supports capturing sessions from Gemini CLI, tracking your AI-assisted coding interactions. The Gemini CLI integration is in preview and may contain bugs.Documentation Index
Fetch the complete documentation index at: https://docs.entire.io/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Entire CLI installed
- Gemini CLI installed
- A Git repository with Entire enabled
Enable
How it works
How it works
Entire integrates with Gemini CLI through Git hooks. When you start Gemini CLI in an Entire-enabled repository:
- Process Detection — Entire detects when Gemini CLI is running.
- File Monitoring — file changes are tracked during the session.
- Checkpoint Creation — created when you or the agent make a Git commit.
- Session Storage — data saved to the
entire/checkpoints/v1branch.
What gets captured
What gets captured
| Data | Description |
|---|---|
| File changes | All files modified during the session |
| Timestamps | Session and checkpoint timing |
| Session boundaries | Start and end of Gemini sessions |
| Checkpoints | Rewind points within sessions |
Features
Features
Rewind during sessions. Use
entire checkpoint rewind to restore to a previous checkpoint during or after a Gemini CLI session. See the rewind command reference for full flag documentation.Resume previous sessions. Switch to a session’s branch with entire session resume <branch>. The CLI restores the session log if needed and prints the command to resume the session. See the resume command reference for full flag documentation.Explain commits. Inspect any commit or checkpoint with entire checkpoint explain. See the explain command reference for full flag documentation.Caveats and limitations
Caveats and limitations
- Conversation transcripts may not be captured depending on Gemini CLI version.
- Session detection relies on process monitoring rather than dedicated lifecycle hooks.
- Token usage is not tracked.
- Works best when you commit at logical stopping points, or tell the agent to handle committing.
Best practices
Best practices
Commit at logical points. Commit when you’ve made meaningful progress:Check status regularly. Monitor your session with
entire status.Example workflow
Example workflow
Troubleshooting
Session not detected
Session not detected
- Ensure you’re in an Entire-enabled repo:
entire status - Verify Gemini CLI is running from within the repository
- Check Git hooks are installed:
ls .git/hooks
No checkpoints created
No checkpoints created
- Checkpoints require file changes
- Make sure Gemini is modifying files in the repository
- Check your settings in
.entire/settings.json