git logloine code example
Example 1: git log one line
git log --oneline
Example 2: git log
git log # show commits
git log -p # show diff files
git log -p <path> # show diff specified files
git log --oneline
git log # show commits
git log -p # show diff files
git log -p <path> # show diff specified files