oh-my-git/levels/05-ref/start
2020-09-15 12:36:22 +02:00

7 lines
191 B
Text

echo hello > hello
echo world > world
BLOB1=$(git hash-object -w hello)
BLOB2=$(git hash-object -w world)
git add .
TREE=$(git write-tree)
COMMIT=$(git commit-tree $TREE -m "Initial commit")