From de390419a61ae16c08c4827cf16cbef3cc710f5b Mon Sep 17 00:00:00 2001 From: Lucas Cabral Date: Mon, 7 Mar 2022 22:08:50 -0300 Subject: [PATCH] fix: hooks install alongside pre-commit tool --- dvc/repo/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",