FunctionRacerProblemsRace

The Last Message

BeginnerGita shell script

Print the message of the latest commit on this branch, and nothing else.

Example 1

starts as
* 0f7621d (HEAD -> main) fix a
* 44553c0 add b
* b527f18 first commit
nothing to commit
prints
fix a

Constraints

Race itor take your time

Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.

More Git problems