A space to discuss online store customization, theme development, and Liquid templating.
How do you go about updating your Shopify theme when using the GitHub integration. Is there a way to create a branch with the newly updated theme and diff the changes? What is the best workflow?
Hello there
Make a backup of your existing theme in case something goes wrong during the update process. You can do this by duplicating your current theme and giving it a new name.
Clone your Shopify theme repository from GitHub to your local machine using Git.
Create a new branch for the update using the "git checkout -b" command.
Make the necessary changes to the theme files, such as updating the CSS, HTML, or JavaScript files.
Once you have completed the changes, commit and push the changes to your branch.
Test the changes on a staging site or a local development environment to ensure that everything is working as expected.
Once you are satisfied with the changes, create a pull request to merge the changes from your branch to the master branch.
Review the changes and resolve any conflicts or issues that may arise during the merge process.
Merge the changes to the master branch and publish the changes to your live site.
To diff the changes, you can use a Git diff tool such as "git diff" or a visual Git client that allows you to compare the changes between branches or commits. This can help you identify any changes that
If this fixed your issue, likes and accepting as a solution are highly appreciated
| Build an online presence with our custom-built Shopify Theme: EcomifyTheme
| Check out our reviews: Trustpilot Reviews
| We are Shopify Partners: EcomGraduates Shopify Partner
Thank you for the thorough reply! What I meant was when the theme developers release an update, how do you go about applying totally new files to a branch?