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

 

 

 

 

posted @ 2021-12-28 15:43  嵌入式实操  阅读(38)  评论(0编辑  收藏  举报