mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-06-10 21:38:26 +02:00
Rename chapters into "internals" and "intro"
This commit is contained in:
parent
70fe577788
commit
f3ff5c5147
97 changed files with 0 additions and 0 deletions
levels/internals/tree-read
15
levels/internals/tree-read/start
Normal file
15
levels/internals/tree-read/start
Normal file
|
@ -0,0 +1,15 @@
|
|||
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"
|
Loading…
Add table
Add a link
Reference in a new issue