ArtiVC icon indicating copy to clipboard operation
ArtiVC copied to clipboard

What is the difference between the command "put" and "push" ?

Open keua opened this issue 2 years ago • 2 comments

I'm new using the tools, I think is really interesting and useful. While using it I got confused by the command "put" and "push" I understand that both will upload the data to the repository but I'm not sure when should I use either of them.

keua avatar Sep 21 '22 13:09 keua

putcan be run in no-workspace folder, while push shoud be run in the workspace.

You can see the use case here. https://artivc.io/use-cases/experiment/

When i have experiment result after training. I can use put command in replace of

  1. cd artifacts
  2. avc init s3://mybucket/experiments/project1
  3. avc push
  4. avc tag 202220303-100504

So you can see put is a shortcut command of above sequence.

popcornylu avatar Sep 21 '22 23:09 popcornylu

Thanks, so if I understand correctly whenever I use "put", I can do it from outside a workspace and a new repo will be created with the data I'm putting ? and "push" will upload the data to an existing repo?

keua avatar Sep 22 '22 07:09 keua