touch A
cp A B
echo "new line" >> A
cat A
git cat-file -t <SHA1>
git cat-file -p <SHA1>
git ls-files --stage
Unix (using entr):
while true; do
find .git/objects | entr -cd tree .git/objects
done
Windows (using watchexec):
cd .git/objects
watchexec -c -- tree /f
- Git from the Bottom Up
- Git Internals
- Gitting (shameless plug)