mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-06-08 21:38:35 +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/ref-remove
10
levels/internals/ref-remove/start
Normal file
10
levels/internals/ref-remove/start
Normal file
|
@ -0,0 +1,10 @@
|
|||
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")
|
||||
|
||||
git update-ref refs/best_blob_ever "$BLOB1"
|
||||
git update-ref refs/beautiful_commit "$COMMIT"
|
Loading…
Add table
Add a link
Reference in a new issue