mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-05 19:04:33 +01:00
6 lines
195 B
Text
6 lines
195 B
Text
|
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
|