Use Shopify Dawn Theme for Multiple Projects via GitHub Connect

Duplicate Shopify/dawn

On GitHub create a new repository (e.g., dawn-project-1, dawn-project-2, etc.)

git clone --bare git@github.com:Shopify/dawn.git
cd dawn.git
git push --mirror git@github.com:markustripp/dawn-project-1.git
...
git push --mirror git@github.com:markustripp/dawn-project-2.git
git push --mirror git@github.com:markustripp/dawn-project-3.git
...
cd ..
rm -rf dawn.git

Clone Newly Created Project Theme

Next, clone your newly created project repository (e.g., your-username/dawn-project-1), for instance using GitHub Desktop.

Staying up to date with Dawn changes

To pull in the latest changes from the Shopify/dawn repository, you can add a remote upstream pointing to this repository.

git remote -v
git remote add upstream https://github.com/Shopify/dawn.git
git fetch upstream
git pull upstream main

Connect Shopify Store with GitHub Repository

In the theme section of your Shopify admin you can connect to a GitHub repository via “Add theme” button.

shopify theme serve

Pull back changes made on the development theme editor

When you open the link to the theme editor from the terminal output, a branch version of the theme editor opens.

Branch version (Development 287d1a-10) of the theme editor
shopify theme pull -d
Pulling the changes from the theme editor

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store