list of all commits SHA1_HASH
- by dorelal
git init
echo 'I am foo' > foo.txt
git add foo.txt # this woould create a git commit object
echo ' I am foo2' > foo.txt
git add foo.txt # this would create another git commit object
git commit -m 'doe' # this would create two git
# objects: one commit object and one tree object
How do I get a list of all 4 commits…