AI-powered Git CLI. Generate commit messages, create PRs, manage issues—all from your terminal.
npm install -g dash-gitLinux users: If
dashruns the system shell instead of this CLI, usedash-cliinstead.
Get your free API key from console.groq.com/keys:
dash config set GROQ_API_KEY=gsk_your_key_hereOr use an environment variable:
export GROQ_API_KEY=gsk_your_key_heregit add .
dash commit
dash prdash commit
dash commit --all
dash commit --generate 3
dash commit --exclude dist/
dash commit --type conventionalRequires GitHub CLI.
dash pr
dash pr --draft
dash pr --base develop
dash pr list
dash pr view
dash pr merge --squashdash issue list
dash issue list --state all
dash issue list --limit 10dash model
dash model list
dash model set llama-3.3-70b-versatileChange AI models interactively or directly. See all models at console.groq.com/docs/models.
dash hook install
dash hook uninstallThen git commit auto-generates messages.
Config lives in ~/.dash:
dash config set <key>=<value>
dash config get <key>| Option | Default | Description |
|---|---|---|
| GROQ_API_KEY | - | API key (required) |
| model | openai/gpt-oss-20b | AI model |
| generate | 1 | Messages to generate |
| type | - | Use conventional |
| max-length | 100 | Max message length |
| locale | en | Message language |
Examples:
dash config set model=llama-3.3-70b-versatile
dash config set type=conventional max-length=72Create a .dash folder in your repo with custom guidelines:
.dash/commit.md - Commit rules:
Use present tense. Include ticket numbers..dash/pr.md - PR rules:
Include testing steps and related tickets.Dash uses these instead of default prompts. Works with monorepos—searches up the tree to find the nearest .dash folder.
Full docs at koushikxd.github.io/dash-git
- Node.js 18+
- Git
- GitHub CLI (for PR/issue commands)
Inspired by noto by Sithija Nelusha Silva.
MIT