Skip to content

Commit

Permalink
DOCS: Add --single-branch to prevent fetching of all branches.
Browse files Browse the repository at this point in the history
  • Loading branch information
cafferata committed Dec 19, 2024
1 parent 8737f1b commit 360bdc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/test-a-branch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down Expand Up @@ -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
```
Expand Down

0 comments on commit 360bdc5

Please sign in to comment.