Skip to content

Commit

Permalink
scm: hint to autostage
Browse files Browse the repository at this point in the history
  • Loading branch information
dberenbaum authored and efiop committed Nov 16, 2021
1 parent 003461f commit f99d3cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dvc/scm/git/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f99d3cd

Please sign in to comment.