Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2025 05:51:41 GMT
From:      Alexander Ziaee <ziaee@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: 3cb20a701f - main - Handbook/cutting-edge: Correct git pull examples
Message-ID:  <202503260551.52Q5pfbk047145@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ziaee:

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

commit 3cb20a701fd21028fc425f0534819cd6c5dab0a3
Author:     Jim Brown <jpb@jimby.name>
AuthorDate: 2025-03-26 05:44:24 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202503260551.52Q5pfbk047145>