diff --git a/tests/func/test_add.py b/tests/func/test_add.py index 85e652db1..a9dafec81 100644 --- a/tests/func/test_add.py +++ b/tests/func/test_add.py @@ -127,8 +127,8 @@ def test_add_tracked_file(tmp_dir, scm, dvc): path = "tracked_file" tmp_dir.scm_gen(path, "...", commit="add tracked file") msg = f""" output '{path}' is already tracked by SCM \\(e.g. Git\\). - You can remove it from git, then add to DVC. - To stop tracking from git: + You can remove it from Git, then add to DVC. + To stop tracking from Git: git rm -r --cached '{path}' git commit -m "stop tracking {path}" """