output: base: use Git instead of git

https://github.com/iterative/dvc/pull/3808#discussion_r428853696
This commit is contained in:
Ruslan Kuprieiev
2020-05-21 22:44:39 +03:00
committed by GitHub
parent 130b76c7a5
commit 7672e324d2
+2 -2
View File
@@ -32,8 +32,8 @@ class OutputIsNotFileOrDirError(DvcException):
class OutputAlreadyTrackedError(DvcException):
def __init__(self, path):
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}" """
super().__init__(msg)