oh-my-git/levels/internals/puzzle-apocalypse/start

10 lines
230 B
Text
Raw Normal View History

2020-09-16 14:16:38 +02:00
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"