Git 如何显示具有父项的所有提交的列表';信息?
Git 如何显示具有父项的所有提交的列表';信息?,git,Git,git log命令可用于查看存储库的整个提交列表 git cat file commit\u id可用于查看有关特定提交的更多信息,尤其是提交父级 问题:是否有git log选项也可以让我们查看列出的每个提交的父级 --parents Print also the parents of the commit (in the form "commit parent..."). Also enables parent rewriting, see History Simplifica
git log
命令可用于查看存储库的整个提交列表
git cat file commit\u id
可用于查看有关特定提交的更多信息,尤其是提交父级
问题:是否有git log
选项也可以让我们查看列出的每个提交的父级
--parents
Print also the parents of the commit (in the form "commit parent...").
Also enables parent rewriting, see History Simplification above.