mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-13 19:04:54 +01:00
15 lines
240 B
Text
15 lines
240 B
Text
EMPTY_TREE=$(git write-tree)
|
|
|
|
echo "file 1" > file1
|
|
echo "file 2" > file2
|
|
git add .
|
|
git write-tree
|
|
|
|
rm *
|
|
echo "file A" > fileA
|
|
echo "file B" > fileB
|
|
echo "file C" > fileC
|
|
git add .
|
|
TRIPLE_TREE=$(git write-tree)
|
|
|
|
git read-tree "$EMPTY_TREE"
|