mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-06-14 21:38:22 +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/symref-no-deref
7
levels/internals/symref-no-deref/description
Normal file
7
levels/internals/symref-no-deref/description
Normal file
|
@ -0,0 +1,7 @@
|
|||
When you have a symbolic ref (a ref pointing at another ref), and you decide you want it to be a regular ref again (pointing to an object), you're in for some trouble! :)
|
||||
|
||||
What happens when you try pointing the symbolic ref directly to the blob using `git update-ref`?
|
||||
|
||||
Oops! Turns out that when you reference a symbolic ref, it acts as if you had specified the ref it points to. To de-symbolic-ize it, use the `--no-deref` option directly after `update-ref`!
|
||||
|
||||
Weird, huh?
|
Loading…
Add table
Add a link
Reference in a new issue