Skip to content
Gemini CLI

Gitattributes checker (exact git rules) for Gemini CLI

io.github.lawatch/gitattributes-check

Which git attributes apply to a file (line endings, binary, LFS, linguist) and which line decides.

client:Gemini CLI transport:stdio runtime:oci

Install Gitattributes checker (exact git rules) in Gemini CLI

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

{
  "mcpServers": {
    "gitattributes-check": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/lawatch/gitattributes-check:1.0.0"
      ]
    }
  }
}

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

Gitattributes checker (exact git rules) in other clients