Skip to content
Gemini CLI

whygit for Gemini CLI

io.github.srikarmk/whygit

Read-only Git explainer: what state a repo is in, what an error means, and the exact fix.

client:Gemini CLI transport:stdio runtime:pypi

Install whygit in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "whygit": {
      "command": "uvx",
      "args": [
        "whygit"
      ]
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

whygit in other clients