pull doc: correct outdated description of an example

Since f269048754 (fetch: opportunistically update tracking refs,
2013-05-11), the underlying `git fetch` in `git pull <remote> <branch>`
updates the configured remote-tracking branch for <branch>.

However, an example in the 'Examples' section of the `git pull`
documentation still states that this is not the case.

Correct the description of this example.

Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Philippe Blain 2020-04-05 15:50:19 +00:00 коммит произвёл Junio C Hamano
Родитель f6a65de621
Коммит a44088435c
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -229,9 +229,9 @@ branch.<name>.merge options; see linkgit:git-config[1] for details.
$ git pull origin next $ git pull origin next
------------------------------------------------ ------------------------------------------------
+ +
This leaves a copy of `next` temporarily in FETCH_HEAD, but This leaves a copy of `next` temporarily in FETCH_HEAD, and
does not update any remote-tracking branches. Using remote-tracking updates the remote-tracking branch `origin/next`.
branches, the same can be done by invoking fetch and merge: The same can be done by invoking fetch and merge:
+ +
------------------------------------------------ ------------------------------------------------
$ git fetch origin $ git fetch origin