git-commit-tree用于创建提交对象的底层工具。 参考:
git commit. 更多信息:https://git-scm.com/docs/git-commit-tree.
git commit-tree {{树对象哈希}} -m "{{提交信息}}"
- 表示从标准输入读取):git commit-tree {{树对象哈希}} -F {{路径/到/文件}}
git commit-tree {{树对象哈希}} -m "{{提交信息}}" {{[-S|--gpg-sign]}}
git commit-tree {{树对象哈希}} -m "{{提交信息}}" -p {{父提交哈希}}