git: 58c6109c20 - main - Handbook: Fix git command lines
Chris Rees
crees at FreeBSD.org
Thu Apr 15 10:19:00 UTC 2021
The branch main has been updated by crees:
URL: https://cgit.FreeBSD.org/doc/commit/?id=58c6109c207d3c97c9e2809cca4cb2c4bd6c1433
commit 58c6109c207d3c97c9e2809cca4cb2c4bd6c1433
Author: Chris Rees <crees at FreeBSD.org>
AuthorDate: 2021-04-15 10:16:03 +0000
Commit: Chris Rees <crees at FreeBSD.org>
CommitDate: 2021-04-15 10:18:47 +0000
Handbook: Fix git command lines
The original version of this doc used SSH for git pulls, using the
developer access.
PR: docs/255015
Submitted by: Tommy P <tommyhp2 at gmail.com>
---
documentation/content/en/books/handbook/cutting-edge/_index.adoc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/documentation/content/en/books/handbook/cutting-edge/_index.adoc b/documentation/content/en/books/handbook/cutting-edge/_index.adoc
index fe9e5503fb..f33f03d35f 100644
--- a/documentation/content/en/books/handbook/cutting-edge/_index.adoc
+++ b/documentation/content/en/books/handbook/cutting-edge/_index.adoc
@@ -663,8 +663,8 @@ Verify that the source code is under version control:
....
# cd /usr/src
# git remote --v
-origin ssh://git@gitrepo.FreeBSD.org/doc.git (fetch)
-origin ssh://git@gitrepo.FreeBSD.org/doc.git (push)
+origin https://git.freebsd.org/src.git (fetch)
+origin https://git.freebsd.org/src.git (push)
....
This indicates that [.filename]#/usr/src/# is under version control and can be updated with man:git[1]:
@@ -723,7 +723,7 @@ Based on <<updating-src-obtaining-src-repopath>>, the source used to update `10.
[source,shell]
....
# mv /usr/src /usr/src.bak <.>
-# git clone --branch releng/10.3 ssh://git@gitrepo.FreeBSD.org/src.git /usr/src <.>
+# git clone --branch releng/10.3 https://git.FreeBSD.org/src.git /usr/src <.>
....
<.> Move the old directory out of the way. If there are no local modifications in this directory, it can be deleted.
More information about the dev-commits-doc-all
mailing list