How to Edit Shopify Themes Locally Using Git and Theme Kit

We’re excited to share with you a video that demonstrates the techniques discussed in this article. By watching this video, you’ll get a better understanding of how to implement these techniques and improve your skills. So sit back, relax, and enjoy the video!

To edit Shopify themes locally using Git and Theme Kit, you can follow the below steps:

  1. Install Git on your computer if it’s not already installed. You can download Git from the official website.
  2. Install Theme Kit on your computer by following the instructions provided on the Shopify website.
  3. Once Theme Kit is installed, create a new folder on your computer and navigate to it using the command prompt or terminal.
  4. Run the command “theme init” to initialize a new theme. This will prompt you to enter your Shopify store name and API credentials.
  5. After entering your Shopify store name and API credentials, Theme Kit will create a new theme folder with all the necessary files.
  6. Navigate to the new theme folder and open the “config.yml” file. Here you can specify which files and folders to ignore during upload and download.
  7. Use a code editor of your choice to make changes to the theme files.
  8. After making changes, use the “theme watch” command to watch for changes and upload them to your Shopify store automatically.
  9. Alternatively, you can use the “theme deploy” command to manually upload your changes to your Shopify store.
  10. Commit your changes using Git and push them to your repository.
  11. To keep your local files in sync with your Shopify store, use the “theme download” command to download the latest version of the theme files.

To watch a video demonstration of How to Edit Shopify Themes Locally Using Git and Theme Kit, please see below. We hope you find it helpful!

That’s it! You can now edit your Shopify themes locally using Git and Theme Kit.