Which command shows the commit history?
- git diff
- git status
- git show
- git log
Explanation
The 'git log' command displays the commit history, showing commit hashes, authors, dates, and commit messages. Various options can customize the output format.
Explanation
The 'git log' command displays the commit history, showing commit hashes, authors, dates, and commit messages. Various options can customize the output format.