oh-my-git/levels/bottom-up/ref-create/start

8 lines
191 B
Text
Raw Normal View History

2020-09-13 21:55:51 +02:00
echo hello > hello
echo world > world
2020-09-15 12:36:22 +02:00
BLOB1=$(git hash-object -w hello)
BLOB2=$(git hash-object -w world)
2020-09-13 21:55:51 +02:00
git add .
TREE=$(git write-tree)
2020-09-15 12:36:22 +02:00
COMMIT=$(git commit-tree $TREE -m "Initial commit")