How to view git log in one line
Git349
description
The git log information is compressed into one line through a simple parameter. When using git to view the log, a large piece of information will be displayed. By formatting the log, the readability of the log can be improved, and the screen occupation can also be greatly reduced.
command
git log --format=oneline
parameter
git : is a free and open source distributed version control system log : show the commit log --format : pretty print the contents of the commit log in the given format
result
bc4cd2b836f0bc293bd01404fd5f9930043049f4 (HEAD -> master) add file f5e31f810e3ffc16bf16513f9409c82eeb15adc7 init