]> git.ipfire.org Git - thirdparty/git.git/commit
doc: apply new format to git-branch man page
authorJean-Noël Avila <jn.avila@free.fr>
Wed, 19 Mar 2025 08:16:23 +0000 (08:16 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2025 02:27:30 +0000 (19:27 -0700)
commit7b399322a2ebbc720037c9524680390cc6354652
treee148e5d1dbf82c5bb08b140b82e00cb53dea12ae
parente1b81f54da80267edee2cb8fd0d0f75f03023019
doc: apply new format to git-branch man page

- Switch the synopsis to a synopsis block which automatically
  formats placeholders in italics and keywords in monospace
- Use _<placeholder>_ instead of <placeholder> in the description
- Use `backticks` for keywords and more complex option
descriptions. The new rendering engine applies synopsis rules to
these spans.

Possible values for some variables, that were mentioned in the description
prose, are now made into enumerated list.

Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/branch.adoc
Documentation/git-branch.adoc