]> git.ipfire.org Git - thirdparty/git.git/commit
doc: fix non-existent config name
authorYukai Chou <muzimuzhi@gmail.com>
Sat, 14 Jan 2023 01:12:12 +0000 (09:12 +0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 14 Jan 2023 01:33:32 +0000 (17:33 -0800)
commitca554bf36ca198fdc908c225acf838c58c4663d7
tree5ea1628ca02ff2079b58c5a284bb261b8fa9f6f7
parenta38d39a4c50d1275833aba54c4dbdfce9e2e9ca1
doc: fix non-existent config name

Replace non-existent `branch.<name>.fetch` to `remote.<repository>.fetch`, in
the first example in `git-fetch` doc, which was introduced in
d504f6975d (modernize fetch/merge/pull examples, 2009-10-21).

Rename placeholder `<name>` to `<repository>`, to be consistent with all other
uses in git docs, except that `git-config.txt` uses `remote.<name>.fetch` in
its "Variables" section.

Also add missing monospace markups.

Signed-off-by: Yukai Chou <muzimuzhi@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-fetch.txt