macOS
brew install lucky-commitlocal Homebrew formula metadata
sudo port install lucky-commitMacPorts ports tree · devel/lucky-commit/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für lucky-commit in AI-Agent-Workflows.
Installation
brew install lucky-commitlocal Homebrew formula metadata
sudo port install lucky-commitMacPorts ports tree · devel/lucky-commit/Portfile · Quelle: api.github.com
nix profile install nixpkgs#lucky-commitnixpkgs package indexes · pkgs/by-name/lu/lucky-commit/package.nix · Quelle: api.github.com
sudo pacman -S lucky-commitArch Linux sync databases · lucky-commit · Quelle: geo.mirror.pkgbuild.com
Überblick
Customize your git commit hashes!
Verlauf
lucky-commit is a small Rust command-line tool for rewriting the current Git commit so that its object hash begins with a chosen prefix, defaulting to a run of zeroes.
The project was made public on GitHub in February 2016. Its README explains the core trick: amend the commit message by appending harmless whitespace, retrying messages until Git computes a hash with the requested prefix. The current implementation is Rust-based and can use OpenCL for GPU-accelerated searching, while older branches preserve earlier Node.js, C, and pure-Rust implementations.
The tool spread as a programmer curiosity rather than infrastructure. Official installation notes mention Cargo, Arch Linux, Funtoo, and Homebrew packaging, and the repository has roughly two thousand GitHub stars, which is notable for a deliberately niche Git-hash novelty.
Users run `lucky_commit` after creating a commit; the command amends the commit until the short hash matches a prefix such as `0000000` or a user-supplied pattern with wildcard placeholders. The README also documents benchmarking and behavior for GPG-signed commits and Git SHA-256 repositories.
For package and Git nerds, lucky-commit is a compact demonstration that commit IDs are content-addressed objects but still manipulable by changing semantically inert data. Its Homebrew formula gives macOS users an easy way to install a tool that is mostly useful for demos, badges, jokes, and understanding Git object hashing.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
lucky_commit | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/not-an-aardvark/lucky-commit
Installationsmetadaten
| Paketschlüssel | brew:lucky-commit |
|---|---|
| Version | 2.2.5 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/lucky-commit |
| Homepage | https://github.com/not-an-aardvark/lucky-commit |
| Repository | https://github.com/not-an-aardvark/lucky-commit |
| Upstream-Dokumentation | https://github.com/not-an-aardvark/lucky-commit#readme |
| Lizenz | MIT |
| Quellarchiv | https://github.com/not-an-aardvark/lucky-commit/archive/refs/tags/v2.2.5.tar.gz |
| Build-Abhängigkeiten | rust |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lucky-commit |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
lucky-commit
nix profile install nixpkgs#lucky-commitlucky-commit 2.2.5-1
Customize your git commit hashes
https://github.com/not-an-aardvark/lucky-commit
sudo pacman -S lucky-commitlucky-commit
sudo port install lucky-commitQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.