git: 3cb20a701f - main - Handbook/cutting-edge: Correct git pull examples

Alexander Ziaee <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by ziaee:

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

commit 3cb20a701fd21028fc425f0534819cd6c5dab0a3
Author:     Jim Brown <[email protected]>
AuthorDate: 2025-03-26 05:44:24 +0000
Commit:     Alexander Ziaee <[email protected]>
CommitDate: 2025-03-26 05:44:28 +0000

    Handbook/cutting-edge: Correct git pull examples
    
    PR:                     284340
    Reviewed by:            ziaee, mhorne
    Approved by:            mhorne (mentor)
    Differential Revision:  https://reviews.freebsd.org/D49494
---
 documentation/content/en/books/handbook/cutting-edge/_index.adoc | 4 ++--
 documentation/content/en/books/handbook/cutting-edge/_index.po   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/documentation/content/en/books/handbook/cutting-edge/_index.adoc b/documentation/content/en/books/handbook/cutting-edge/_index.adoc
index cadb762fe0..1417fc9dc4 100644
--- a/documentation/content/en/books/handbook/cutting-edge/_index.adoc
+++ b/documentation/content/en/books/handbook/cutting-edge/_index.adoc
@@ -726,7 +726,7 @@ To prevent this, perform the following steps *before* updating sources and build
 +
 [source,shell]
 ....
-# git pull -C /usr/src  <.>
+# git -C /usr/src pull <.>
 check /usr/src/UPDATING  <.>
 # cd /usr/src          <.>
 # make -j4 buildworld  <.>
@@ -788,7 +788,7 @@ This indicates that [.filename]#/usr/src/# is under version control and can be u
 [[synching]]
 [source,shell]
 ....
-# git pull -C /usr/src
+# git -C /usr/src pull
 ....
 
 The update process can take some time if the directory has not been updated recently.
diff --git a/documentation/content/en/books/handbook/cutting-edge/_index.po b/documentation/content/en/books/handbook/cutting-edge/_index.po
index be347c3c65..06b1784a97 100644
--- a/documentation/content/en/books/handbook/cutting-edge/_index.po
+++ b/documentation/content/en/books/handbook/cutting-edge/_index.po
@@ -1499,7 +1499,7 @@ msgstr ""
 #: documentation/content/en/books/handbook/cutting-edge/_index.adoc:739
 #, no-wrap
 msgid ""
-"# git pull -C /usr/src  <.>\n"
+"# git -C /usr/src pull   <.>\n"
 "check /usr/src/UPDATING  <.>\n"
 "# cd /usr/src          <.>\n"
 "# make -j4 buildworld  <.>\n"
@@ -1619,7 +1619,7 @@ msgstr ""
 #. type: delimited block . 4
 #: documentation/content/en/books/handbook/cutting-edge/_index.adoc:791
 #, no-wrap
-msgid "# git pull -C /usr/src\n"
+msgid "# git -C /usr/src pull\n"
 msgstr ""
 
 #. type: Plain text
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.