legit

Crates.iolegit
lib.rslegit
version0.2.4
sourcesrc
created_at2023-03-03 06:02:36.585302
updated_at2023-05-04 21:16:36.338393
descriptionadd proof of work to a git commit
homepagehttps://legit.randymcmillan.net/
repositoryhttps://github.com/randymcmillan/legit.git
max_upload_size
id799477
size81,201
@RandyMcMillan (RandyMcMillan)

documentation

https://legit.randymcmillan.net

README

Legit legit

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

Example


git log | grep "0000006"

commit 000000615b90566ae8559dd45852190edea79a8c

commit 000000615b90566ae8559dd45852190edea79a8c


Install


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

--

Commit count: 235

cargo fmt