Skip to content

Jorazon/commithasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Git Commit Hash Prefixer

Give your commit hashes leading zeroes!

Inspired by Тsфdiиg's 𝕏 post

Usage

By default the prefix searched for is at least three leading zeroes 000

./hasher

Giving a valid lowercase hex string as the first option searches for that prefix

./hasher bada55

TODO

  • arg to give desired prefix instead of just current hard coded 000
  • speed it up using git commit-tree instead of git commit --amend
  • speed it up by running spinner in parallel

About

Prefix your commit hashes 7b99745 => 0000065

Resources

Stars

Watchers

Forks

Languages