Skip to content

Commit

Permalink
fix(docs): checkout-depth minimum
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocode committed Mar 3, 2023
1 parent 512608c commit 3c89c76
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions runatlantis.io/docs/server-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,13 @@ and set `--autoplan-modules` to `false`.

### `--checkout-depth`
```bash
atlantis server --checkout-depth=0
atlantis server --checkout-depth=50
# or
ATLANTIS_CHECKOUT_DEPTH=0
ATLANTIS_CHECKOUT_DEPTH=50
```
The number of commits to fetch from the branch. Used if `--checkout-strategy=merge` since the `--checkout-strategy=branch` (default) checkout strategy always defaults to a shallow clone using a depth of 1.
Defaults to `0`. See [Checkout Strategy](checkout-strategy.html) for more details.

See [Checkout Strategy](checkout-strategy.html) for more details.

### `--checkout-strategy`
```bash
Expand Down

0 comments on commit 3c89c76

Please sign in to comment.