Project

git_miner

0.0
Low commit activity in last 3 years
No release in over a year
git-mine provide mining logic for Git sha prefix
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 3.0
~> 13.0

Runtime

 Project Readme

GitMiner

Pet project I built to experiment with different concepts.

GitMiner allow "mining" of vanity Git SHA1 prefixes.

The HEAD commit is altered via variations over committer and author timestamp adjustments. Other commit metadata such as commit message or description are left as their original.

Installation

These options will add the git-mine binary which act as a Git custom command: git mine.

Rubygem

gem 'git_miner'

Manual

gem build git_miner.gemspec
gem install --local git_miner-*.gem 

Usage

git mine [DESIRED_PREFIX] will amend the current HEAD commit with a new mined SHA.

Eg.:

git mine c0ffee

Some extra options are available (experimental):

$ git mine -h
Usage: git mine [options]
        --engine [ruby|c]            Set the engine (default: ruby)
        --dispatch [simple|parallel] Set the dispatch (default: parallel)
        --verbose                    Run verbosely (default: false)
        --register [prefix]          Register automated post commit git hook
    -v, --version                    Returns the current version
    -h, --help                       Show this message

Development

[path]/git_miner/bin/git-mine ...