git: 2fcb42cef3 - main - Handbook: Fix indentation
Mateusz Piotrowski
0mp at FreeBSD.org
Mon Apr 19 11:22:36 UTC 2021
The branch main has been updated by 0mp:
URL: https://cgit.FreeBSD.org/doc/commit/?id=2fcb42cef3a3c98371aeb0176e31839ad9d521b5
commit 2fcb42cef3a3c98371aeb0176e31839ad9d521b5
Author: Mateusz Piotrowski <0mp at FreeBSD.org>
AuthorDate: 2021-04-19 10:32:32 +0000
Commit: Mateusz Piotrowski <0mp at 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 at 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 at 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
More information about the dev-commits-doc-all
mailing list