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

5 lines
156 B
Text
Raw Normal View History

2020-09-13 21:55:51 +02:00
TREE=$(git write-tree)
COMMIT=$(git commit-tree $TREE -m "Initial commit")
git update-ref refs/best_commit $COMMIT
git update-ref refs/worst_commit $COMMIT