Git Integration
Codeep has deep git integration. It reads your repository state, analyzes changes, generates commit messages, and can create branches and commits automatically.
Git commands
| Command | Description |
|---|---|
/diff | AI analysis of all uncommitted changes |
/commit | Generate a semantic commit message from diff |
/commit create | Generate message and immediately create commit |
/review | Full code review of staged or unstaged changes |
Reviewing changes
> /diff
Analyzing 3 changed files...
src/auth/jwt.ts (+120 lines)
- New JWT token generation and verification
- Handles token expiry and refresh
src/middleware/auth.ts (modified)
- Replaced session checks with JWT validation
Generating commits
> /commit
Suggested commit message:
feat(auth): replace session-based auth with JWT tokens
- Add jwt.ts with token generation and verification
- Update middleware to validate Bearer tokens
- Remove express-session dependency
[C]reate commit [E]dit [A]bort
Auto-commit with agent
Enable agentAutoCommit in settings to have the agent automatically commit after completing a task. Combine with agentAutoCommitBranch to create a new branch for each agent session.