🍺 BREW Explorer

← all formulae

git-ignore

brew install git-ignore v1.4.0 GPL-3.0-or-later

List, fetch and generate .gitignore templates

12
30-day installs · #8175
34
90-day · #8308
222
365-day · #7087
123
★ GitHub stars · updated 2mo ago

Build dependencies

GitHub topics

git rust small-tools utilities

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "rust"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [
    "git-extras"
  ],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "List, fetch and generate .gitignore templates",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:04+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "git-ignore",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-19T13:44:42Z",
  "github_readme_excerpt": "\u003ch1 align=\"center\"\u003egit-ignore\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/sondr3/git-ignore/actions\"\u003e\u003cimg alt=\"GitHub Actions Status\" src=\"https://github.com/sondr3/git-ignore/workflows/pipeline/badge.svg\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://crates.io/crates/git-ignore-generator\"\u003e\u003cimg alt=\"Crates\" src=\"https://img.shields.io/crates/v/git-ignore-generator.svg\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cb\u003eCreate .gitignores with templates from www.gitignore.io, your own aliases and templates\u003c/b\u003e\n\u003c/p\u003e\n\n- **Simple**: `git ignore node` to print the `node` template.\n- **Offline first**: Automatically caches templates for offline support.\n- **Aliases, templates**: Create aliases for commonly combined templates, or make your own custom ones.\n- **Magic**: Automatically generate your `.gitignore` by matching common files against templates.\n\n\u003cdetails\u003e\n\u003csummary\u003eTable of Contents\u003c/summary\u003e\n\u003cbr /\u003e\n\n- [What and why](#what-and-why)\n- [Installation](#installation)\n- [Usage](#usage)\n    - [Aliases](#aliases)\n    - [Templates](#templates)\n    - [Configuration](#configuration)\n- [License](#license)\n\n\u003c/details\u003e\n\n# What and why\n\nTired of visiting [gitignore.io](https://www.gitignore.io/) to get templates for your\n`.gitignore` all the time? I was. So I [automated](https://xkcd.com/1319/) [it](https://xkcd.com/1205/).\n\n`git ignore` allows you to easily and quickly get all the available templates from\n[gitignore.io](https://www.gitignore.io/), even while offline. You can also define\nyour own aliases for common combinations of templates, or create your own completely\ncustom ones for even more power.\n\n\u003cdetails\u003e\n\u003csummary\u003eDemo\u003c/summary\u003e\n\n[![asciicast](https://asciinema.org/a/454912.svg)](https://asciinema.org/a/454912)\n\n\u003c/details\u003e\n\n# Installation\n\nCurrently, the package is available a couple of places, including Homebrew, AUR and Nix.\n\n\u003cdl\u003e\n  \u003cdt\u003eCargo\u003c/dt\u003e\n  \u003cdd\u003e\u003ccode\u003ecargo install git-ignore-generator\u003c/code\u003e\u003c/dd\u003e\n\n  \u003cdt\u003eNix\u003c/dt\u003e\n  \u003cdd\u003e\u003ccode\u003enix-env -iA nixpkgs.gitAndTools.git-ignore\u003c/code\u003e\u003c/dd\u003e",
  "github_repo": "sondr3/git-ignore",
  "github_stars": 123,
  "github_topics": [
    "git",
    "rust",
    "small-tools",
    "utilities"
  ],
  "homepage": "https://github.com/sondr3/git-ignore",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 12,
  "installs_365d": 222,
  "installs_90d": 34,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-3.0-or-later",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "git-ignore",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 8175,
  "rank_365d": 7087,
  "rank_90d": 8308,
  "raw_hash": "26b2d4f09b6e99fc",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/git-ignore.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.4.0",
  "versioned_formulae": [],
  "why_use_this": null
}