mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-05 05:02:02 +02:00
Add levels for refs and symrefs
This commit is contained in:
parent
cb2bb767db
commit
9ba485b789
7 changed files with 32 additions and 0 deletions
levels/06-symref
4
levels/06-symref/start
Normal file
4
levels/06-symref/start
Normal file
|
@ -0,0 +1,4 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue