mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
show more info when successfully init dvc repo (#5190)
* show more info when successfully init dvc repo * Ignore 'line too long' linter error * simpler solution * black reformat * don't break dvc init --no-scm case * Update dvc/repo/init.py Co-authored-by: Saugat Pachhai <[email protected]> * Update dvc/repo/init.py Co-authored-by: Saugat Pachhai <[email protected]>
This commit is contained in:
co-authored by
Saugat Pachhai
parent
9331ad23e4
commit
fa5487ebfe
+3
-1
@@ -82,8 +82,10 @@ def init(root_dir=os.curdir, no_scm=False, force=False, subdir=False):
|
||||
[config.files["repo"], dvcignore, proj.plots.templates.templates_dir]
|
||||
)
|
||||
|
||||
logger.info("Initialized DVC repository.\n")
|
||||
|
||||
if scm.ignore_file:
|
||||
scm.add([os.path.join(dvc_dir, scm.ignore_file)])
|
||||
logger.info("\nYou can now commit the changes to git.\n")
|
||||
logger.info("You can now commit the changes to git.\n")
|
||||
|
||||
return proj
|
||||
|
||||
Reference in New Issue
Block a user