git help (22)

查看git log的使用方法:

$ git log -h

$ git log  -h
usage: git log [<options>] [<revision-range>] [[--] <path>...]
or: git show [<options>] <object>...

-q, --quiet suppress diff output
--source show source
--use-mailmap Use mail map file
--decorate-refs <pattern>
only decorate refs that match <pattern>
--decorate-refs-exclude <pattern>
do not decorate refs that match <pattern>
--decorate[=...] decorate options
-L <n,m:file> Process line range n,m in file, counting from 1

另一种查看git log的具体使用方法:

$ git help log

 

原文地址:https://www.cnblogs.com/lianghong881018/p/15740874.html