Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

dvc-git command pairs #2874

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
casperdcl opened this issue Nov 30, 2019 · 1 comment
Closed

dvc-git command pairs #2874

casperdcl opened this issue Nov 30, 2019 · 1 comment
Labels
discussion requires active participation to reach a conclusion enhancement Enhances DVC feature request Requesting a new feature refactoring Factoring and re-factoring research ui user interface / interaction

Comments

@casperdcl
Copy link
Contributor

casperdcl commented Nov 30, 2019

Probably a duplicate but:

  1. make a list of dvc & git commands which are often run together, e.g.
  • git checkout <ID> && dvc checkout
  • dvc add <file> && git add .gitignore <file>.dvc
  1. discuss ways to make running such command pairs easier
  • (easy) alias certain commands (not really command pairs)
    • git config --global alias.run '!dvc run' && complete -F git-run _dvc_run
  • (hard) dvc will also run git commands?
    • dvc --git/gdvc/dvcg/gvc will also run git 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.

@casperdcl casperdcl added enhancement Enhances DVC feature request Requesting a new feature refactoring Factoring and re-factoring ui user interface / interaction research discussion requires active participation to reach a conclusion labels Nov 30, 2019
@efiop
Copy link
Contributor

efiop commented Nov 30, 2019

Related #2363 #1551

@efiop efiop closed this as completed May 3, 2021
@iterative iterative locked and limited conversation to collaborators May 3, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
discussion requires active participation to reach a conclusion enhancement Enhances DVC feature request Requesting a new feature refactoring Factoring and re-factoring research ui user interface / interaction
Projects
None yet
Development

No branches or pull requests

2 participants