From: Philippe Blain Date: Sun, 5 Apr 2020 15:50:19 +0000 (+0000) Subject: pull doc: correct outdated description of an example X-Git-Tag: v2.27.0-rc0~114^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a44088435c37ccf91920ab18076db888cff1fc76;p=thirdparty%2Fgit.git 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 ` updates the configured remote-tracking branch for . 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-pull.txt b/Documentation/git-pull.txt index dfb901f8b8..21e10905fa 100644 --- a/Documentation/git-pull.txt +++ b/Documentation/git-pull.txt @@ -229,9 +229,9 @@ branch..merge options; see linkgit:git-config[1] for details. $ git pull origin next ------------------------------------------------ + -This leaves a copy of `next` temporarily in FETCH_HEAD, but -does not update any remote-tracking branches. Using remote-tracking -branches, the same can be done by invoking fetch and merge: +This leaves a copy of `next` temporarily in FETCH_HEAD, and +updates the remote-tracking branch `origin/next`. +The same can be done by invoking fetch and merge: + ------------------------------------------------ $ git fetch origin