A space to discuss online store customization, theme development, and Liquid templating.
Hello,
I am trying to add a theme to my theme library through the Github integration. I am able to upload it as a zip just fine but I can't do it through Github and need to as there will be constant changes made. I keep getting this error "Branch isn't a valid theme" at the last step when I clicked connect. Please see the screenshot below.
I haven't been able to find any documentation on how to fix this error. Could anyone please help?
Thank you
Have you found a solution to this yet?
I'm sure there are numerous reasons for this error, but the cause of mine was an old line in my global gitignore file that was ignoring the config files (settings_data.json and settings_schema.json). Because of this, there was no config directory in github at all.
Once I removed those lines and pushed the config files it worked perfectly.
Where is the global gitignore file located, please?
On Mac it's in your home directory and called .gitignore_global -- it's a dot file so may be hidden by default.