From 4a7bb49bb04fe35510c81f64b589bc5a0ed413a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Vitor?= Date: Fri, 30 Oct 2020 11:47:00 -0300 Subject: [PATCH] command: add dvc push instruction after dvc repro (#4737) * command: add dvc push instruction after dvc repro Adds a logger.info() statement to remind the user to run dvc push after running dvc repro. Fixes #2359 * command: change dvc push instruction for dvc repro * command: Use backticks and else in dvc repro log --- dvc/command/repro.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dvc/command/repro.py b/dvc/command/repro.py index 101665bfb..936163a18 100644 --- a/dvc/command/repro.py +++ b/dvc/command/repro.py @@ -30,6 +30,11 @@ class CmdRepro(CmdBase): if len(stages) == 0: logger.info(CmdDataStatus.UP_TO_DATE_MSG) + else: + logger.info( + "Use `dvc push` to send your updates to " + "remote storage." + ) if self.args.metrics: metrics = self.repo.metrics.show()