Legit legit

Legit adds Proof of Work (PoW) to a git commit hash prefix.

Example


git log | grep "0000006"

commit 000000615b90566ae8559dd45852190edea79a8c

commit 000000615b90566ae8559dd45852190edea79a8c

git:

git clone https://github.com/RandyMcMillan/legit.git && \
cd legit && make legit
example:
example:

Usage


git clone https://github.com/RandyMcMillan/legit.git
cd legit && make legit

add files to commit

git add <FILE_NAME> <FILE_NAME>
git stash (--include-untracked)

legit command


legit . -p "000000" -m "my legit commit"
git stash pop