mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
output: base: use Git instead of git
https://github.com/iterative/dvc/pull/3808#discussion_r428853696
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user