🍺 BREW Explorer

← all formulae

git-hound

brew install git-hound v1.0.0 MIT

Git plugin that prevents sensitive data from being committed

10
30-day installs · #8673
12
90-day · #11327
79
365-day · #9809
315
★ GitHub stars · updated 5y ago

Build dependencies

go

GitHub topics

cli git git-plugin golang regular-expression security

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "go"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Git plugin that prevents sensitive data from being committed",
  "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-hound",
  "github_default_branch": "master",
  "github_last_commit_at": "2020-10-08T22:34:28Z",
  "github_readme_excerpt": "# Git Hound\n[![Travis](https://img.shields.io/travis/ezekg/git-hound.svg?style=flat-square)](https://travis-ci.org/ezekg/git-hound)\n[![Code Climate](https://img.shields.io/codeclimate/github/ezekg/git-hound.svg?style=flat-square)](https://codeclimate.com/github/ezekg/git-hound)\n[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](https://godoc.org/github.com/ezekg/git-hound)\n\nHound is a Git plugin that helps prevent sensitive data from being committed into a repository by sniffing potential commits against PCRE regular expressions.\n\n## How does it work?\nUpon commit, it runs the output of `git diff -U0 --staged` through the Hound, which matches every _added_ or _modified_ line against your provided list of regular expressions from a local `.githound.yml` file.\n\n## Installation\nTo install Hound, please use `go get`. If you don\u0027t have Go installed, [get it here](https://golang.org/dl/). If you would like to grab a precompiled binary, head over to the [releases](https://github.com/ezekg/git-hound/releases) page. The precompiled Hound binaries have no external dependencies.\n\n```\ngo get github.com/ezekg/git-hound\n```\n\nIf you\u0027re on macOS, you can also install using Homebrew:\n\n```\nbrew install git-hound\n```\n\n## Compiling\nTo compile for your operating system, simply run the following from the root of the project directory:\n```bash\ngo install\n```\n\nTo compile for all platforms using [`gox`](https://github.com/mitchellh/gox), run the following:\n```bash\ngox\n```\n\n## Usage\n```\ngit-hound [\u003copts\u003e] commit [...]\ngit-hound [\u003copts\u003e] sniff [\u003ccommit\u003e]\n```\n\n### Commit\nSniff changes before committing.\n\n```bash\n# Sniff changes since last commit and pass to git-commit when clean\ngit hound commit \u2026\n```\n\n### Sniff\nYou can optionally pass a commit hash or manually pipe a diff for the Hound to sniff.\n\n```bash\n# Sniff changes since last commit\ngit hound sniff HEAD\n\n# Sniff entire codebase\ngit hound sniff\n\n# Sniff entire repo history\ngit log -p | git hound sniff\n```\n\n",
  "github_repo": "ezekg/git-hound",
  "github_stars": 315,
  "github_topics": [
    "cli",
    "git",
    "git-plugin",
    "golang",
    "regular-expression",
    "security"
  ],
  "homepage": "https://github.com/ezekg/git-hound",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 10,
  "installs_365d": 79,
  "installs_90d": 12,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "git-hound",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 8673,
  "rank_365d": 9809,
  "rank_90d": 11327,
  "raw_hash": "a88572cd12cb7a20",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/git-hound.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.0.0",
  "versioned_formulae": [],
  "why_use_this": null
}