git 日志不显示提交的修改子模块
git log doesn't show modified submodules of a commit
使用 git,在主仓库管理子模块中执行 git log
时是否可以显示提交的修改子模块?
我为 --pretty 和 --submodule 选项尝试了不同的值,但没有任何效果。
经过更多的研究,git show
似乎是为此而做的。例如:
git show commit_name --name-only
使用 git,在主仓库管理子模块中执行 git log
时是否可以显示提交的修改子模块?
我为 --pretty 和 --submodule 选项尝试了不同的值,但没有任何效果。
经过更多的研究,git show
似乎是为此而做的。例如:
git show commit_name --name-only