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_heredash
dash commit
dash c -m "chore: hide testimonials"
dash prdash commit
dash c
dash commit --all
dash commit -m "chore: hide testimonials"
dash commit --generate 3
dash commit --exclude dist/
dash commit --type conventionaldash now opens a staging selector before committing. "Stage all changed files" is selected by default, and you can switch to manual mode with the arrow keys to pick files with Space and submit with Enter.
dash commit still works with already staged files. If nothing is staged, dash asks whether to stage everything or select files manually before it generates the message.
For larger diffs, dash can now generate a multi-line commit message with a normal type: subject line followed by - bullet points for the main changes.
Requires 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 openai/gpt-oss-120bChange 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=openai/gpt-oss-120b
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