diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2021-04-19 10:32:32 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2021-04-19 10:32:32 +0000 |
commit | 2fcb42cef3a3c98371aeb0176e31839ad9d521b5 (patch) | |
tree | c39e9cd77935ca248472fac8a4a69220b3bf5b2d | |
parent | d4907dfec36cdfad3f9b64991354156e313ecf0d (diff) | |
download | doc-2fcb42cef3a3c98371aeb0176e31839ad9d521b5.tar.gz doc-2fcb42cef3a3c98371aeb0176e31839ad9d521b5.zip |
Handbook: Fix indentation
-rw-r--r-- | documentation/content/en/books/handbook/mirrors/_index.adoc | 29 |
1 files 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 |