mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-29 20:29:00 +02:00
Some new puzzle levels
This commit is contained in:
parent
35b4dc098a
commit
6292d849b9
10 changed files with 65 additions and 0 deletions
levels/puzzle-apocalypse
9
levels/puzzle-apocalypse/start
Normal file
9
levels/puzzle-apocalypse/start
Normal file
|
@ -0,0 +1,9 @@
|
|||
echo foo > foo
|
||||
BLOB=$(git hash-object -w foo)
|
||||
echo bar > bar
|
||||
git add .
|
||||
git commit -m "Initial commit"
|
||||
echo blabber >> bar
|
||||
git commit -a -m "Second commit"
|
||||
git update-ref refs/important HEAD
|
||||
git update-ref refs/interesting "$BLOB"
|
Loading…
Add table
Add a link
Reference in a new issue