https://github.com/bradfitz/gitbrute
brute-force a git commit hash
https://github.com/bradfitz/gitbrute
Last synced: about 1 year ago
JSON representation
brute-force a git commit hash
- Host: GitHub
- URL: https://github.com/bradfitz/gitbrute
- Owner: bradfitz
- Created: 2014-04-06T19:36:50.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2022-06-24T13:20:15.000Z (almost 4 years ago)
- Last Synced: 2025-03-30T03:09:28.956Z (about 1 year ago)
- Language: Go
- Size: 11.7 KB
- Stars: 389
- Watchers: 13
- Forks: 25
- Open Issues: 6
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
gitbrute brute-forces a pair of author+committer timestamps such that
the resulting git commit has your desired prefix.
It will find the most recent time that satisfies your prefix.
Shorter prefixes match more quickly, of course. The author &
committer timestamp are not kept in sync.
Example: https://github.com/bradfitz/deadbeef
Usage:
go run gitbrute.go --prefix 000000
This amends the last commit of the current repository.