--stat[=<width>[,<name-width>[,<count>]]]
    Generate a diffstat. By default, as much space as necessary will be used for the filename part, and the rest for the graph part. Maximum width defaults to terminal width, or 80 columns if not connected to a terminal, and can be overridden by <width>. The width of the filename part can be limited by giving another width <name-width> after a comma. The width of the graph part can be limited by using --stat-graph-width=<width> (affects all commands generating a stat graph) or by setting diff.statGraphWidth=<width> (does not affect git format-patch). By giving a third parameter <count>, you can limit the output to the first <count> lines, followed by ... if there are more.
    These parameters can also be set individually with --stat-width=<width>, --stat-name-width=<name-width> and --stat-count=<count>.

参考帮助文档,可以看到git在没有终端连接的时候会只显示80列的。
执行git log --stat时,对于一些太长的路径会出现以“…”来省略的情况。
就像这样:
在这里插入图片描述
可以手动设置显示宽度

git log --stat=200

这样的话就可以设置成显示200列了,就会显示完整的路径
就像这样
在这里插入图片描述

--stat[=&lt;width&gt;[,&lt;name-width&gt;[,&lt;count&gt;]]] Generate a diffstat. By default, as much space as necessary will be used for the filename part, and the rest for the graph part. Maximum width defaults to terminal width, or 80 columns if not 命令行界面 Usage: git-log-to-json|git log-to-json <dir> Print a configurable git log in json Options: -h, --help output usage information -V, --version output the version number -H, --hash output the commit hash -D, --date output the commit date -N, --author-name output the commit author nam
git status命令表示:文件文件夹在工作区,暂存区的状态,下图就是文件文件夹三种状态: Changes to be committed: (use “git restore --staged …” to unstage) new file: bbbb.txt Changes not staged for commit: (use “git add …” to update what will be committed) (use “git restore …” to discard changes
git log xxx -n --oneline --format="%H %ad" 由此引出的git log 知识大补丸。内容来源于网络! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ git log  查看 在提交了若