-
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Griffen Fargo edited this page Jun 10, 2026
·
22 revisions
New to coco? Start here for a complete walkthrough from installation to your first AI-generated commit.
- Installation methods (npm, npx, global vs local)
- First-time setup with AI provider selection
- Your first commit walkthrough
- Essential commands and workflows
- Quick troubleshooting for beginners
- Complete configuration reference with all options
- Multiple configuration methods (CLI, env vars, config files)
- AI provider setup — seven providers (OpenAI, Anthropic, Ollama, Gemini, Mistral, Azure OpenAI, AWS Bedrock)
- Priority system and best practices
- Advanced pattern matching with minimatch
- Project-specific ignore configurations
- Performance optimization through file filtering
- Real-world examples for different project types
- Complete local AI setup guide
- Model recommendations by hardware
- Performance optimization and GPU acceleration
- Privacy-focused development workflows
- Shared configuration strategies
- Git hooks and CI/CD integration
- Security best practices for API keys
- Team onboarding and training materials
- Enterprise-scale deployment
- Custom prompts and templates
- Multi-project configurations
- Automation and scripting
- Performance optimization techniques
- Integration with development tools
- Use
coco uias a GitKraken-style terminal Git workstation - Sixteen top-level views (history, status, diff, compose, branches, tags, stash, worktrees, pull-request, pull-request-triage, issues, conflicts, reflog, bisect, submodules, changelog) with chord-driven navigation
- Stage files/hunks, compose commits, request explicit AI drafts after confirmation
- One-keystroke workflows:
Ssplit staged changes,Lgenerate a changelog,Ccreate a PR seeded from changelog,Eopen the commit draft in$EDITOR - Just-landed commits get a
▎marker for ~5s after apply so you can see what an operation just created - Keep
coco log -ias a supported alias into history mode
-
coco workspace(aliascoco ws) — multi-repo overview TUI for the day's wide context across 3–10 active repos - Discovers every git working tree under
workspace.roots; per-row branch / dirty / ahead-behind / last-commit / open-PR data - Tab-filtered (All / Dirty / Behind / PRs), sortable by recency / name / dirtiness, free-text filter on top
-
enterdrills into the cursored repo as a fullcoco uisession; quittinguireturns to the workspace with the cursor anchored back on the same repo -
aadds a repo by path with fuzzy tab-completion;Rrefreshes just the cursored row (vsrfor the whole workspace) - Per-row spinners while
gh pr listis in flight; rail-collapses the sidebar on narrow terminals
-
coco issuesandcoco prsprint formatted lists to stdout — composable withgrep,jq, and other pipeline tools -
g iandg Popen list-on-left / inspector-on-right triage surfaces insidecoco ui - Per-row action keys: comment, label, assign, merge, approve, request changes, close, reopen — all destructive verbs gated through y-confirm
- Canned filter presets cycle with
f: open / closed / mine / assigned / draft / merged - Debounced per-cursor-rest hydration brings in body, comments, reviews, and status checks without spamming the forge CLI
- Works across GitHub, GitHub Enterprise, and GitLab — see Multi-Forge Support
-
coco prs,coco issues,coco pr create, and the fullcoco uitriage workstation run against GitHub, GitHub Enterprise, and GitLab - Forge auto-detected from the git remote host; self-hosted vanity hosts mapped via the
forgeHostsconfig key - Drives
ghfor GitHub / GitHub Enterprise andglabfor GitLab — same flags, same keybindings regardless of forge - On GitLab, PR commands operate on merge requests; covers GitLab-specific behavior (request-changes-as-note, squash/rebase merges, push-on-create)
- Source of truth for the chord set (
g h/s/d/c/b/t/z), the navigation stack, and back (</Esc) - Interactive command palette (
:) with fuzzy filter and recently-used at the top -
/global search across history, branches, tags, and stash; help overlay grouped by scope - 108 built-in color themes / 109 presets (29 light) with readable selected rows on every theme,
NO_COLORsupport, accessibility expectations
- History-focused guide for
coco log -iandcoco ui --view history - Search with fuzzy-ranked filtering and common lazygit/fzf keybindings
- Inspect selected commit metadata, changed files, stats, and hunk previews
- Plan smaller related commits from broad staged changes
- Apply file-level and hunk-level split commit groups
- Inherits your conventional-commits + commitlint + branch-name config — same standards as
coco commit - Available as a one-keystroke (
S) workflow from insidecoco uiwith animated overlay, per-commit HEAD verification, and a four-pass rescue chain that recovers from common LLM output drift - Understand safety checks and fail-closed behavior
- Use
service.model: "dynamic"with provider-specific model profiles - Route summarize, commit, changelog, review, recap, repair, and large-diff tasks
- Customize model choices per task
- Maintain the wiki locally from
.wiki/ - Keep the wiki as the canonical documentation source
- Use repository docs only as temporary planning or migration material
- 27 named git states (merge / rebase / cherry-pick / revert conflicts, diverged branches, mid-bisect, multi-remote forks, shallow clones, multiple worktrees, …) for manual TUI testing and integration tests
-
npm run scenario create <name> -- --run-uiis the tightest dev loop for trying workstation changes against tricky shapes - Drop in
describeWithScenario('feature-pr-ready', (getRepo) => …)from the Jest framework adapter for zero-boilerplate fixtures - Built on the published
@gfargo/git-scenariospackage
- Complete reference for all commands and flags
- Includes
commit,commit split,amend,pr create,changelog,recap,review,log,ui,issues,prs, andinit - Common workflows and output mode examples
- Access multiple AI providers through a single API
- Configuration examples for project, git, and environment setups
- Model switching and cost tracking
- Common issues and solutions
- Diagnostic commands and debugging
- Platform-specific problems (Windows, macOS, Linux)
- API and connectivity issues
- Performance troubleshooting
- Consistent Commits: Never write generic commit messages again
- Learning Tool: Understand conventional commits through examples
- Time Saving: Generate contextual messages in seconds
- Offline Capable: Use Ollama for complete privacy and offline work
- Standardization: Enforce consistent commit message formats
- Onboarding: Help new team members learn project conventions
- Code Review: Better commit messages improve review efficiency
- Release Management: Conventional commits enable automated changelogs
- Compliance: Audit trails and consistent documentation
- Security: Local AI models keep code completely private
- Cost Control: Shared Ollama servers eliminate per-request costs
- Integration: Seamless integration with existing development workflows
# Interactive commit (recommended)
coco commit -i
# Conventional commits format
coco commit --conventional
# Add context for complex changes
coco commit -a "Resolves login timeout issue"
# Include ticket from branch name
coco commit --append-ticket
# Generate changelog
coco changelog
# Open the Git workstation
coco ui
# Browse history interactively through the legacy entrypoint
coco log -i
# Summarize recent work
coco recap --yesterday# Quick setup
coco init
# Project-specific setup
coco init --scope project
# Global user setup
coco init --scope global# Daily development
git add .
coco commit -i
# Team workflow with validation
git add .
coco commit --conventional -i
# Release workflow
coco changelog --since-last-tag- GitHub Repository - Source code and issue tracking
- Discord Community - Real-time help and discussion
- GitHub Discussions - Community Q&A and feature requests
- Contributing Guide - How to contribute to coco
- Release Notes - Latest features and bug fixes
- Roadmap - Upcoming features and improvements
Ready to transform your git workflow? Choose your path:
- 🚀 New User? Start Here - Complete beginner's guide
- ⚙️ Need Configuration Help? - Comprehensive setup guide
- 👥 Setting Up a Team? - Enterprise deployment guide
- 🔍 Having Issues? - Problem-solving guide
This documentation is continuously updated. For the latest information, visit the GitHub repository or join our Discord community.