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
This commit is contained in:
João Vitor
2020-10-30 15:47:00 +01:00
committed by GitHub
parent 3d58f4b8ce
commit 4a7bb49bb0
+5
View File
@@ -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()