Skip to content

docs: maybe show example of what a very evil commit history looks like? #2

@mroth

Description

@mroth

This is now fast enough to use 7 character vanity prefixes, which are the full length of the short sha displayed in most Github tooling. Link to sample repository showing this, or just add a screenshot?

evil-commits@2x

Probably should use a funnier hash than beef321 if so. Though, I really don't want to encourage people to do this in reality.

Generated via

#!/bin/bash
GITBRUTE="$(PWD)/bin/gitbrute"
SAMPLEDIR="$(PWD)/sample"
PREFIX="beef321"

mkdir -p "$SAMPLEDIR"
cd "$SAMPLEDIR" || exit 1
git init

for i in {1..6}
do
    echo "aaa" >> a.txt
    git add a.txt && git commit -m "made commit #$i"
    $GITBRUTE -prefix "$PREFIX"
done

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions