dvc-git command pairs #5932
casperdcl
started this conversation in
New Features & Ideas
Replies: 2 comments
-
Also related: #5896 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Probably a duplicate but:
dvc
&git
commands which are often run together, e.g.git checkout <ID> && dvc checkout
dvc add <file> && git add .gitignore <file>.dvc
git config --global alias.run '!dvc run' && complete -F git-run _dvc_run
dvc
will also rungit
commands?dvc --git
/gdvc
/dvcg
/gvc
will also rungit
commands?git config --global alias.dvc '!dvc --git'
complete -F _dvc git-dvc
The idea is that e.g.
dvc --git checkout <ID>
or (imho better)git dvc checkout <ID>
would do both checkouts.Related:
fds
https://dagshub.com/blog/fds-fast-data-science-with-git-and-dvc/Beta Was this translation helpful? Give feedback.
All reactions