Date: Wed, 13 Dec 2023 19:29:41 GMT From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Subject: git: f83eb8e581 - main - handbook: correct the git-pull command when a target directory specified Message-ID: <202312131929.3BDJTfnc020098@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/doc/commit/?id=f83eb8e5810ee1fa616cd431b6afaaabe1ff9d81 commit f83eb8e5810ee1fa616cd431b6afaaabe1ff9d81 Author: Li-Wen Hsu <lwhsu@FreeBSD.org> AuthorDate: 2023-12-13 19:27:59 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2023-12-13 19:27:59 +0000 handbook: correct the git-pull command when a target directory specified PR: 275713 Reported by: Ian <yoitsmeremember+fbsd@gmail.com> --- 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312131929.3BDJTfnc020098>