How often should I use 'theme pull' command with Shopify CLI?

Hi,

I just started using Shopify CLI, so I can code using VSCode. Then I can push the code using “shopify theme push” command.

But what if I make a change in the shopify customization for instance? Do I have to do “shopify theme pull”, pulling the files locally every time I make a change in the customization at Shopify? This doesn’t seem like a very smooth way to work.

Thanks!

-Knut

Yes, you can push the code by using the “shopify theme push” command.

If making any changes in the Shopify Customization you can use the Customizer of CLI to make the same changes. When you run the “shopify theme dev” command it will show the link to CLI Customizer where you can make the same changes.

Please review the below Screenshot:

1 Like