# Installer git-hooks-go avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de git-hooks-go pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:git-hooks-go
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install git-hooks-go
```

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:git-hooks-go
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.3.1
- **Résumé source:** Git hooks manager
- **Page d'accueil:** <https://git-hooks.github.io/git-hooks>
- **Dépôt:** <https://github.com/git-hooks/git-hooks>
- **Dernière mise à jour:** 2026-07-09T19:34:54+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- git-hooks (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.3.1
## Historique du projet et usages

git-hooks is a Go-based manager for Git hooks. It provides the `git hooks` command and organizes client-side hooks into project, user, global, and semi scopes.

### Historique du projet

The project was created on GitHub in November 2014 and describes itself as rewritten from icefox/git-hooks with extra features. Its own history file records a 1.0.0 release in November 2014, and later GitHub releases added update, installation, and configuration improvements.

### Historique d'adoption

git-hooks belongs to the older wave of hook managers that tried to make Git's local hook mechanism shareable before tools such as pre-commit became widespread. Its adoption signal is modest but real: the repository has several hundred stars, package-manager coverage through Homebrew, and a GitHub Pages manual that documents project, user, and system-wide hook scopes.

### Modes d'utilisation

Practitioners install the `git-hooks` binary, run `git hooks install` inside a repository, and place hook scripts in structured directories such as `githooks/pre-commit`. The tool can also read `githooks.json` for community hook repositories and uses Git system configuration for global hook directories.

### Pourquoi les passionnés de paquets s'y intéressent

The package matters as a small Git subcommand with configuration spread across repository files and Git config. For packagers, the `git-hooks-go` formula name avoids collision with generic hook terminology while exposing the executable as `git-hooks`.

### Chronologie

- 2014: GitHub repository created and 1.0.0 history entry recorded.
- 2015: Early releases fix repository detection and installation behavior.
- 2019: Release v1.2.0 adds SSH protocol support in `githooks.json`.
- 2020: Release v1.3.1 adds `hooks.global` support in user config.

### Related projects

- git-hooks is descended from icefox/git-hooks and occupies the same space as other Git hook managers that standardize local pre-commit, commit-msg, and related hook workflows.

### Sources

- <https://api.github.com/repos/git-hooks/git-hooks/releases>
- <https://git-hooks.github.io/git-hooks>
- <https://github.com/git-hooks/git-hooks>
- <https://raw.githubusercontent.com/git-hooks/git-hooks/master/History.md>
- <https://raw.githubusercontent.com/git-hooks/git-hooks/master/Readme.md>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: githooks.json, /etc/gitconfig, /usr/local/etc/gitconfig

## Combined YAML source

View the package source record on GitHub. [combined/git-hooks-go.yml](https://github.com/mxcl/pkgdb/blob/main/combined/git-hooks-go.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
