git commit-tree
用于创建提交对象的底层工具。 另请参阅:
git commit。 更多信息:https://git-scm.com/docs/git-commit-tree。
- 创建带有指定提交信息的提交对象:
git commit-tree -m ""
- 从文件读取提交信息创建提交对象(使用
-表示从标准输入读取):
git commit-tree -F
- 创建 GPG 签名过的提交对象:
git commit-tree -m ""
- 创建指定父提交的提交对象:
git commit-tree -m "" -p
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
