BM: Baca dalam Bahasa Melayu
World 2: Undo Magic · Boss challenge
Escape room: 6 disasters
You will learn: to fix six Git disasters in a row, without panic.
The problem
Six Git disasters. One locked room. Fix them all to escape!
Watch
Each room is a real terminal. Stuck? Try git status first. After 2 tries, a hint appears. Mistakes are free, so experiment!
Try it
Fix each disaster to unlock the next room.
Disaster 1 of 6: Wrong file staged
secret.txt jumped into the box. Take it out. Keep index.html in.
- Empty
- 3 save points
- Add style
- Add day 1 page
- Add README
Hint
Read each room’s note. Thengit status or git log --oneline.Check
Which mistake can the reflog NOT fix?
Pick one answer.
You did it!
You can now escape almost any Git disaster.
Bahasa Melayu
Enam bencana Git. Satu bilik berkunci. Baiki semuanya untuk lolos!
Setiap bilik ialah terminal sebenar. Buntu? Cuba git status dulu. Selepas 2 cubaan, petunjuk akan muncul. Silap tak apa, jadi cubalah!
Baiki setiap bencana untuk buka bilik seterusnya.
git status atau git log --oneline.Satu commit (titik simpan) teruk dah dikongsi. Cara baiki mana yang selamat?
Kesilapan mana yang reflog TAK boleh baiki?
Kini anda boleh lolos dari hampir semua bencana Git.
You finished this before. Practice is always welcome!
Official docs: git restore · git commit · git rm · git reflog · git reset · git revert
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?