Skip to content

Commit

Permalink
docs: fix formatting in dvc install cmd ref (#1061)
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop authored Mar 16, 2020
1 parent 52ab37d commit e4269d4
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions public/static/docs/command-reference/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,29 +83,28 @@ DVC provides support for [pre-commit](https://pre-commit.com/) users. To adjust

```yaml
repos:
- hooks:
- id: dvc-pre-commit
language_version: python3
stages:
- commit
- id: dvc-pre-push
language_version: python3
stages:
- push
- always_run: true
id: dvc-post-checkout
language_version: python3
stages:
- post-checkout
repo: https://github.com/iterative/dvc
rev: master
- hooks:
- id: dvc-pre-commit
language_version: python3
stages:
- commit
- id: dvc-pre-push
language_version: python3
stages:
- push
- always_run: true
id: dvc-post-checkout
language_version: python3
stages:
- post-checkout
repo: https://github.com/iterative/dvc
rev: master
```
## Options
- `--use-pre-commit-tool` - install pre-commit/pre-push/post-checkout hooks
into the [pre-commit](https://pre-commit.com/) config
(`.pre-commit-config.yaml`).
- `--use-pre-commit-tool` - install pre-commit/pre-push/post-checkout hooks into
the [pre-commit](https://pre-commit.com/) config (`.pre-commit-config.yaml`).

- `-h`, `--help` - prints the usage/help message, and exit.

Expand Down

0 comments on commit e4269d4

Please sign in to comment.