Skip to main content
Total Downloads
641
641
Published
Mar 20, 2026
7mo ago

Get Started

dotnet add package GitLucky.osx-arm64 --version 0.2.0

No framework information available.

README

GitLucky 🍀

GitLucky NuGet version GitLucky NuGet download count

Amends the last git commit to have the desired SHA-1 prefix.

This is done by searching for negative deltas to the author and commit timestamps such that the resulting commit hash starts with a given prefix. The longer the prefix, the more time it will take to find a match.

Installation

Install as a global tool on your computer with:

$ dotnet tool install -g GitLucky

Usage

gitlucky <prefix>

Where <prefix> is the desired commit SHA prefix, in hex.

Example

$ git log --oneline -1
cd1e69a (HEAD -> master) Most recent commit

$ gitlucky 123456
128,161,098 hashes in 27,286 ms (4,696,812/sec)
Match found

$ git log --oneline -1
1234560 (HEAD -> master) Most recent commit

Disclaimer

This is just for fun. Use it at your own risk.

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.