git: f83eb8e581 - main - handbook: correct the git-pull command when a target directory specified

Li-Wen Hsu <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/doc/commit/?id=f83eb8e5810ee1fa616cd431b6afaaabe1ff9d81

commit f83eb8e5810ee1fa616cd431b6afaaabe1ff9d81
Author:     Li-Wen Hsu <[email protected]>
AuthorDate: 2023-12-13 19:27:59 +0000
Commit:     Li-Wen Hsu <[email protected]>
CommitDate: 2023-12-13 19:27:59 +0000

    handbook: correct the git-pull command when a target directory specified
    
    PR:             275713
    Reported by:    Ian <[email protected]>
---
 documentation/content/en/books/handbook/cutting-edge/_index.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/documentation/content/en/books/handbook/cutting-edge/_index.adoc b/documentation/content/en/books/handbook/cutting-edge/_index.adoc
index 49b7b8fdec..27f330a938 100644
--- a/documentation/content/en/books/handbook/cutting-edge/_index.adoc
+++ b/documentation/content/en/books/handbook/cutting-edge/_index.adoc
@@ -714,7 +714,7 @@ To prevent this, perform the following steps *before* updating sources and build
 +
 [source,shell]
 ....
-# git pull /usr/src  <.>
+# git pull -C /usr/src  <.>
 check /usr/src/UPDATING  <.>
 # cd /usr/src          <.>
 # make -j4 buildworld  <.>
@@ -775,7 +775,7 @@ This indicates that [.filename]#/usr/src/# is under version control and can be u
 [[synching]]
 [source,shell]
 ....
-# git pull /usr/src
+# git pull -C /usr/src
 ....
 
 The update process can take some time if the directory has not been updated recently.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.