Introduction
Clone Shopify Sample Project
git clone [email protected]:Shopify/dawn.git <<your_theme_name>>As this repo was cloned from Shopify, we'll forcibly remove the remnants of that repo and reinitialize it.
cd <<your_theme_name>>
git rm -r --cached . -f
rm -rf .git
git init . -b mainAdd files to local repo
git add .
git commit -m "initial commit"Add remote
Go to Github and create a new project, and then we'll add a remote:
git remote add origin <<remote url>>Connect to Shopify
shopify login --store=<<your_store>>.myshopify.comshopify theme servePush to GitHub
*Note: You may need to do this step from VSCode
git push origin mainLast updated
Was this helpful?