macOS
brew install lucky-commitlocal Homebrew formula metadata
sudo port install lucky-commitMacPorts ports tree · devel/lucky-commit/Portfile · ソース: api.github.com
brew
lucky-commit のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install lucky-commitlocal Homebrew formula metadata
sudo port install lucky-commitMacPorts ports tree · devel/lucky-commit/Portfile · ソース: api.github.com
nix profile install nixpkgs#lucky-commitnixpkgs package indexes · pkgs/by-name/lu/lucky-commit/package.nix · ソース: api.github.com
sudo pacman -S lucky-commitArch Linux sync databases · lucky-commit · ソース: geo.mirror.pkgbuild.com
概要
Customize your git commit hashes!
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
lucky_commit | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/not-an-aardvark/lucky-commit
インストールメタデータ
| パッケージキー | brew:lucky-commit |
|---|---|
| バージョン | 2.2.5 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/lucky-commit |
| ホームページ | https://github.com/not-an-aardvark/lucky-commit |
| リポジトリ | https://github.com/not-an-aardvark/lucky-commit |
| 上流ドキュメント | https://github.com/not-an-aardvark/lucky-commit#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/not-an-aardvark/lucky-commit/archive/refs/tags/v2.2.5.tar.gz |
| ビルド依存関係 | rust |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-commitソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.