oh-my-git/levels/symref-create/goal

4 lines
112 B
Text
Raw Permalink Normal View History

2020-09-15 22:35:14 +02:00
BLOB=$(git hash-object -w --stdin)
git update-ref refs/double "$BLOB"
git symbolic-ref refs/rainbow refs/double