From 360bdc5d6bbdf9d6ebf6c1da3e552e8814a752bd Mon Sep 17 00:00:00 2001 From: Jeffrey Cafferata Date: Thu, 19 Dec 2024 16:32:53 +0100 Subject: [PATCH] DOCS: Add `--single-branch` to prevent fetching of all branches. --- documentation/test-a-branch.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/test-a-branch.md b/documentation/test-a-branch.md index e2fd468362..cd3f342d7e 100644 --- a/documentation/test-a-branch.md +++ b/documentation/test-a-branch.md @@ -12,7 +12,7 @@ Using Docker assures you're using the latest version of Go and doesn't require y ```shell docker run -it -v /THE/PATH:/dns golang -git clone -b INSERT_BRANCH_HERE https://github.com/StackExchange/dnscontrol.git +git clone -b INSERT_BRANCH_HERE --single-branch https://github.com/StackExchange/dnscontrol.git cd dnscontrol go install ``` @@ -42,7 +42,7 @@ Step 1: Install Go Step 2: Check out the software ```shell -git clone -b INSERT_BRANCH_HERE https://github.com/StackExchange/dnscontrol.git +git clone -b INSERT_BRANCH_HERE --single-branch https://github.com/StackExchange/dnscontrol.git cd dnscontrol go install ```