From f99d3cda57511222990234e1b75372d1ac846249 Mon Sep 17 00:00:00 2001 From: dberenbaum Date: Mon, 15 Nov 2021 15:34:54 -0500 Subject: [PATCH] scm: hint to autostage --- dvc/scm/git/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dvc/scm/git/__init__.py b/dvc/scm/git/__init__.py index ba8e76c4ce..1c77ad8a56 100644 --- a/dvc/scm/git/__init__.py +++ b/dvc/scm/git/__init__.py @@ -258,7 +258,11 @@ def remind_to_track(self): "\n" "To track the changes with git, run:\n" "\n" - "\tgit add {files}".format(files=files) + "\tgit add {files}\n" + "\n" + "To enable auto staging, run:\n" + "\n" + "\tdvc config core.autostage true".format(files=files) ) def track_changed_files(self):