I'm interested in the original version of git. The earliest version I can find is git v0.01 in kernel.org/pub/software/scm/git/. After compiling I get 7 executable file: init-db, read-tree, write-tree, commit-tree, show-diff, update-cache, cat-file.
./init-db
is similar to git init. It creates a dir named.dircache. But I can find the corresponding command of
git add test.c
How does git 0.01 add files?
use update-cache to add file
./update-cache cat-file.c README
./show-diff
README: ok
cat-file.c: ok
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With