Skip to content
VS Code

Gitignore checker (exact git rules) for VS Code

io.github.lawatch/gitignore-check

Is this path ignored by git, and by which .gitignore line? Same answer as git check-ignore.

client:VS Code transport:stdio runtime:oci

Install Gitignore checker (exact git rules) in VS Code

.vscode/mcp.json

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

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

Gitignore checker (exact git rules) in other clients