Question
Which command shows the commit history of a Git repository?
- A. git log Correct
- B. git push
- C. git init
- D. git stash
Explanation
git log lists the commits reachable from the current branch.
E2E Free Exam - Everything Free · free question 1 of 5
Explanation
Practice the whole free set
E2E-FREE is a free exam: all 6 questions with instant feedback, plus Learn and Exam modes and PDF export, free.