3 releases
0.2.4 | May 4, 2023 |
---|---|
0.2.2 | Mar 3, 2023 |
0.2.1 | Mar 3, 2023 |
#9 in #proof-of-work
48KB
1K
SLoC
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
--
Dependencies
~16MB
~320K SLoC