Free · Open Source
A free command-line tool for managing .gitignore files.
Templates from GitHub and Toptal, local overrides for project-specific patterns, and an MCP server mode that lets AI coding assistants manage ignore rules directly. Cross-platform binaries for macOS, Linux, and Windows.
brew install convergent-systems-co/tap/gitignore
Upgrade with brew upgrade gitignore.
scoop bucket add convergent-systems https://github.com/convergent-systems-co/scoop-bucket
scoop install gitignore
Upgrade with scoop update gitignore.
# macOS (Apple Silicon)
curl -L https://github.com/convergent-systems-co/gitignore/releases/latest/download/gitignore-darwin-arm64.tar.gz | tar xz
sudo mv gitignore /usr/local/bin/
# macOS (Intel)
curl -L https://github.com/convergent-systems-co/gitignore/releases/latest/download/gitignore-darwin-amd64.tar.gz | tar xz
sudo mv gitignore /usr/local/bin/
# Linux
curl -L https://github.com/convergent-systems-co/gitignore/releases/latest/download/gitignore-linux-amd64.tar.gz | tar xz
sudo mv gitignore /usr/local/bin/
# Windows
# Download gitignore-*-windows-amd64.zip from the releases page and add gitignore.exe to your PATH.
go install github.com/convergent-systems-co/gitignore/src/cmd/gitignore@latest
Requires Go 1.23+. The binary lands in $GOPATH/bin (typically $HOME/go/bin).
gitignore list
Shows templates in source/name form: github/go, github/global/macos, toptal/rust, local/myproject.
gitignore search rust
gitignore add github/go github/global/macos
gitignore remove github/go
gitignore add-path "*.log" "build/"
~/.config/gitignore/local/ take precedence over upstream sources..gitignore directly via the Model Context Protocol.Run the tool as an MCP server so AI coding assistants can manage your .gitignore automatically:
gitignore mcp serve
Configure your MCP-aware client (Claude Desktop, GitHub Copilot, etc.) to launch this command. The assistant gains tools for listing, searching, adding, and removing templates without round-tripping through your terminal.
Complete usage guide, configuration reference, and contribution guidelines live in the repository: