Skip to content
VS Code

Gitattributes checker (exact git rules) for VS Code

io.github.lawatch/gitattributes-check

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

client:VS Code transport:stdio runtime:oci

Install Gitattributes checker (exact git rules) in VS Code

.vscode/mcp.json

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

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

Gitattributes checker (exact git rules) in other clients