Git helpers #6929
dberenbaum
started this conversation in
General
Git helpers
#6929
Replies: 1 comment 1 reply
-
We are currently prompting in If we include dvc initialization as part of that command, we could prompt for the Additionally (this goes back to old "prompt / not prompt" discussion) we could introduce a -i flag for |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Related to iterative/dvc.org#2969.
DVC has two features that reduce a lot of boilerplate/duplicate Git commands:
core.autostage
: staging changes to DVC files.install
: install hooks for checkout, commit, and push.It would be great to make these more obvious and useful to people. There are a few options:
core.autostage
, I think it could make sense. Forinstall
, I think there are some reasons not to do this:a. It seems aggressive to install Git hooks when initializing the repo.
b. There are more use cases where people don't want to couple the DVC and Git actions (for example, it's expensive to push to my remote and I want to wait until the end of the day to do it).
c. It hides more from the user. Understanding
dvc checkout
and other commands are helpful for beginners.dvc init
whether to turn them on.Beta Was this translation helpful? Give feedback.
All reactions