我有两个git log
别名设置:一个显示--name-status
:结合git日志--stat和--name-status?
...
| A path/to/yourfile.c
| M path/to/myfile.c
| M path/to/my/otherfile.c
...
和一个显示--stat
:
...
| path/to/yourfile.c | 2 ++
| path/to/myfile.c | 2 +-
| path/to/my/otherfile.c | 27 +++++-----
...
是否可以将两者结合起来?
...
| A path/to/yourfile.c | 2 ++
| M path/to/myfile.c | 2 +-
| M path/to/my/otherfile.c | 27 +++++-----
...
我喜欢--stat
概述,但它不告诉我文件是否被添加或删除;只是它们以某种方式进行了修改。
(当两个命令行标志相结合,--stat
被忽略。)