Rename chapters into "internals" and "intro"

This commit is contained in:
Sebastian Morr 2020-10-01 15:03:02 +02:00
parent 70fe577788
commit f3ff5c5147
97 changed files with 0 additions and 0 deletions
levels/internals/symref-create

View file

@ -0,0 +1,7 @@
Instead of pointing directly to objects, refs can also point to other refs!
When that happens, they are called "symbolic refs". You can create or update a symbolic ref using
git symbolic-ref <name> <ref>
Create a symbolic ref called "refs/rainbow"!

View file

@ -0,0 +1,3 @@
BLOB=$(git hash-object -w --stdin)
git update-ref refs/double "$BLOB"
git symbolic-ref refs/rainbow refs/double

View file

View file

@ -0,0 +1 @@
git symbolic-ref refs/rainbow