File: gitbrute.1

package info (click to toggle)
gitbrute 0~12-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 80 kB
  • sloc: sh: 12; makefile: 5
file content (24 lines) | stat: -rw-r--r-- 674 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.TH gitbrute 1 2019-04-06
.SH NAME
gitbrute \- brute-force a git commit hash to a given prefix
.SH SYNOPSIS
.B gitbrute
.I -prefix
deadbeef
.SH DESCRIPTION
.B gitbrute
amends the top commit in a git repository, altering commit-time and
author-time to have the commit's hash start with the given prefix.
.SH OPTIONS
.TP
-prefix 000000
Specifies the hash prefix to search for.  Obviously, the expected time
required to find it grows exponentially with the prefix's length.
.TP
-force true
If the current commit already matches the prefix, it will be replaced
by another one.
.TP
-cpus 64
Specifies the level of parallelism; defaults to number of online processors
at startup.