mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-07 05:02:04 +02:00
Restructuring of goal/start scripts
This commit is contained in:
parent
34b24344d4
commit
b84bb48004
11 changed files with 35 additions and 41 deletions
levels/06-symref
|
@ -1,5 +1 @@
|
|||
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
|
||||
git symbolic-ref HEAD refs/best_commit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue