brute-force a git commit hash
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore gitbrute initial commit. Apr 6, 2014
README Usage. Nov 9, 2014
gitbrute.go Allow brute forcing empty commits Jul 18, 2018

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.