git log -<number>
Display the last <number> commits in the repository
The -<number>
flag limits the output to the specified number of commits.
Specific examples:
git log -10
git log -<number>
The -<number>
flag limits the output to the specified number of commits.
git log -10