]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: improve formatting in branch section
authorJakub Ječmínek <kuba@kubajecminek.cz>
Sun, 29 Jun 2025 19:04:45 +0000 (21:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Jun 2025 18:11:36 +0000 (11:11 -0700)
The 'branch' section of the git-config documentation was missing
inline code formatting and emphasis for the <name> placeholder.

Both changes improve readability, especially when viewed online.

Signed-off-by: Jakub Ječmínek <kuba@kubajecminek.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/branch.adoc

index e35ea7ac640d648cb387bc994a888e51691febaf..a4db9fa5c87eab074a6754e690041073e1972d58 100644 (file)
@@ -69,9 +69,9 @@ This option defaults to `never`.
        `git fetch`) to lookup the default branch for merging. Without
        this option, `git pull` defaults to merge the first refspec fetched.
        Specify multiple values to get an octopus merge.
-       If you wish to setup `git pull` so that it merges into <name> from
+       If you wish to setup `git pull` so that it merges into _<name>_ from
        another branch in the local repository, you can point
-       branch.<name>.merge to the desired branch, and use the relative path
+       `branch.<name>.merge` to the desired branch, and use the relative path
        setting `.` (a period) for `branch.<name>.remote`.
 
 `branch.<name>.mergeOptions`::