From owner-dev-commits-doc-all@freebsd.org Mon Apr 19 11:22:36 2021 Return-Path: Delivered-To: dev-commits-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A12945EE219 for ; Mon, 19 Apr 2021 11:22:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FP4DD4DhFz3nsr; Mon, 19 Apr 2021 11:22:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 844FC1E69B; Mon, 19 Apr 2021 11:22:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13JBMarb071625; Mon, 19 Apr 2021 11:22:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13JBMak0071624; Mon, 19 Apr 2021 11:22:36 GMT (envelope-from git) Date: Mon, 19 Apr 2021 11:22:36 GMT Message-Id: <202104191122.13JBMak0071624@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 2fcb42cef3 - main - Handbook: Fix indentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2fcb42cef3a3c98371aeb0176e31839ad9d521b5 Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2021 11:22:36 -0000 The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/doc/commit/?id=2fcb42cef3a3c98371aeb0176e31839ad9d521b5 commit 2fcb42cef3a3c98371aeb0176e31839ad9d521b5 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2021-04-19 10:32:32 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2021-04-19 10:32:32 +0000 Handbook: Fix indentation --- .../content/en/books/handbook/mirrors/_index.adoc | 29 ++++++++++++---------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/documentation/content/en/books/handbook/mirrors/_index.adoc b/documentation/content/en/books/handbook/mirrors/_index.adoc index 9cb16428e7..fe03a36cc0 100644 --- a/documentation/content/en/books/handbook/mirrors/_index.adoc +++ b/documentation/content/en/books/handbook/mirrors/_index.adoc @@ -567,13 +567,14 @@ For read-only access, please refer to the users section above. ==== Daily use * Clone the repository: - ++ [source,shell] .... % git clone -o freebsd --config remote.freebsd.fetch='+refs/notes/*:refs/notes/*' https://git.freebsd.org/${repo}.git .... - Then you should have the official mirrors as your remote: - ++ +Then you should have the official mirrors as your remote: ++ [source,shell] .... % git remote -v @@ -582,11 +583,11 @@ freebsd https://git.freebsd.org/${repo}.git (push) .... * Configure the FreeBSD committer data: - - The commit hook in repo.freebsd.org checks the "Commit" field matches the - committer's information in FreeBSD.org. The easiest way to get the suggested - config is by executing `/usr/local/bin/gen-gitconfig.sh` script on freefall: - ++ +The commit hook in repo.freebsd.org checks the "Commit" field matches the +committer's information in FreeBSD.org. The easiest way to get the suggested +config is by executing `/usr/local/bin/gen-gitconfig.sh` script on freefall: ++ [source,shell] .... % gen-gitconfig.sh @@ -596,23 +597,25 @@ freebsd https://git.freebsd.org/${repo}.git (push) .... * Set the push URL: - ++ [source,shell] .... % git remote set-url --push freebsd git@gitrepo.freebsd.org:${repo}.git .... - Then you should have separated fetch and push URLs as the most efficient setup: - ++ +Then you should have separated fetch and push URLs as the most efficient setup: ++ [source,shell] .... % git remote -v freebsd https://git.freebsd.org/${repo}.git (fetch) freebsd git@gitrepo.freebsd.org:${repo}.git (push) .... - Again, note that `gitrepo.freebsd.org` will be canonicalized to `repo.freebsd.org` in the future. ++ +Again, note that `gitrepo.freebsd.org` will be canonicalized to `repo.freebsd.org` in the future. * Install commit message template hook: - ++ [source,shell] .... % fetch https://cgit.freebsd.org/src/plain/tools/tools/git/hooks/prepare-commit-msg -o .git/hooks