aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2023-12-13 19:27:59 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2023-12-13 19:27:59 +0000
commitf83eb8e5810ee1fa616cd431b6afaaabe1ff9d81 (patch)
tree6182efddc4d1f67138716c32f1e7fcaafff85366
parenta0c10efd372f6def0fbefc77bae883d3b507f7a1 (diff)
downloaddoc-f83eb8e5810ee1fa616cd431b6afaaabe1ff9d81.tar.gz
doc-f83eb8e5810ee1fa616cd431b6afaaabe1ff9d81.zip
handbook: correct the git-pull command when a target directory specified
PR: 275713 Reported by: Ian <yoitsmeremember+fbsd@gmail.com>
-rw-r--r--documentation/content/en/books/handbook/cutting-edge/_index.adoc4
1 files 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.