Skip to content

Commit 5842322

Browse files
committed
DOCS: Add --single-branch to prevent fetching of all branches.
1 parent 57ad3cb commit 5842322

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/test-a-branch.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Using Docker assures you're using the latest version of Go and doesn't require y
1212

1313
```shell
1414
docker run -it -v /THE/PATH:/dns golang
15-
git clone -b INSERT_BRANCH_HERE https://github.com/StackExchange/dnscontrol.git
15+
git clone -b INSERT_BRANCH_HERE --single-branch https://github.com/StackExchange/dnscontrol.git
1616
cd dnscontrol
1717
go install
1818
```
@@ -42,7 +42,7 @@ Step 1: Install Go
4242
Step 2: Check out the software
4343

4444
```shell
45-
git clone -b INSERT_BRANCH_HERE https://github.com/StackExchange/dnscontrol.git
45+
git clone -b INSERT_BRANCH_HERE --single-branch https://github.com/StackExchange/dnscontrol.git
4646
cd dnscontrol
4747
go install
4848
```

0 commit comments

Comments
 (0)