cli.fail

Practice this fail.

A commit with receipts.

Git · Restart as often as you like

Read the error, choose a command, and learn
why it works. Nothing runs on your machine.

Browse all practice ↗

Git · Beginner

You want the latest commit message and patch, without changing any files. This is a normal non-merge commit.

A commit with receipts.

$ git log -1 --oneline

a1b2c3d Update validation

How do you inspect the latest commit’s patch and message?

3 attempts remaining

Read why this fix works

A commit with receipts.

git show HEAD

git show displays the named commit and its patch. HEAD identifies the currently checked-out commit; nothing is applied to the working tree.

Practice rounds do not affect the daily score or local streak. Try today’s challenge, or choose another scenario.

Copy your result