The Last Message
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
- The repository has 1 to 6 commits
- Every message is one line
Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.
More Git problems
- Which BranchBeginner
- Delete the BranchEasy
- Fix the MessageEasy
- History of a FileEasy
- Leave It OutEasy
- Merge the BranchEasy
- One File Was Left OutEasy
- Rename a FileEasy