git 文档使用什么格式来描述命令?

What format does the git documentation use to describe commands?

是否有此 git documentation 使用的记录格式? IE。 <> 或 [] 中包含的关键字的重要性是什么? '-'和'--'用在关键字前有什么区别?

[this] 是可选的。

<that> 是某物的占位符文本。例如,<refspec> 可以替换为 HEAD,或 my_branch

-- 宣布了一个全名选项,其中 - 引入了缩写形式,但这只是语法上的差异。 cherry-pick 命令示例:--no-commit-n(它们会做同样的事情)