git-commit-graph生成和验证 Git 提交图文件。 更多信息:https://git-scm.com/docs/git-commit-graph.
.git 目录中的打包提交生成提交图文件:git commit-graph write
git show-ref {{[-s|--hash]}} | git commit-graph write --stdin-commits
HEAD 可达提交的提交图文件(追加模式):git rev-parse {{HEAD}} | git commit-graph write --stdin-commits --append