Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142205154
D40561.id123270.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
725 B
Referenced Files
None
Subscribers
None
D40561.id123270.diff
View Options
diff --git a/documentation/content/en/books/handbook/ports/_index.adoc b/documentation/content/en/books/handbook/ports/_index.adoc
--- a/documentation/content/en/books/handbook/ports/_index.adoc
+++ b/documentation/content/en/books/handbook/ports/_index.adoc
@@ -731,14 +731,14 @@
+
[source,shell]
....
-# git clone https://git.FreeBSD.org/ports.git /usr/ports
+# git clone --depth 1 https://git.FreeBSD.org/ports.git /usr/ports
....
+
. Or, check out a quarterly branch:
+
[source,shell]
....
-# git clone https://git.FreeBSD.org/ports.git -b 2023Q1 /usr/ports
+# git clone --depth 1 https://git.FreeBSD.org/ports.git -b 2023Q1 /usr/ports
....
+
. As needed, update `/usr/ports` after the initial Git checkout:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 18, 5:20 AM (7 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27705063
Default Alt Text
D40561.id123270.diff (725 B)
Attached To
Mode
D40561: Reducing the depth of git pull
Attached
Detach File
Event Timeline
Log In to Comment