diff --git a/dvc/repo/install.py b/dvc/repo/install.py index ab2b131d7..1a673cc21 100644 --- a/dvc/repo/install.py +++ b/dvc/repo/install.py @@ -17,7 +17,7 @@ def pre_commit_install(scm: "Git") -> None: with modify_yaml(config_path) as config: entry = { "repo": "https://github.com/iterative/dvc", - "rev": "master", + "rev": "main", "hooks": [ { "id": "dvc-pre-commit",