trilbymedia / grav-plugin-git-sync

Collaboratively Synchronize your Grav `user` folder hosted on GitHub, BitBucket or GitLab
Apache License 2.0
244 stars 58 forks source link

Not syncing themes folder #178

Closed millernw closed 3 years ago

millernw commented 4 years ago

First, the clickable check boxes during the setup wizard - the ones that let you choose which folders to replicate to Github - I tried adding "themes" in the wizard and it didn’t take, then I tried re-running the wizard and that didn’t take. Finally I uninstalled the plugin, reinstalled, and tried clicking those options again… didn’t work. I've also tried adding "themes" to the Basic Settings > folders to sync but I'm still not getting GitSync to push that folder and its contents to Github. Am I doing something wrong, or is this a bug? I'm using Gitsync v2.1.1

DidierLmn commented 3 years ago

I have the same issue. I've tried adding 'plugins' as well as 'themes', but it doesn't get synced either. Only 'pages' gets synced.

Adding !/themes to user/.gitignore fixed it. It seems the gitignore doesn't get updated when updating the plugin settings.

MattAppleton commented 3 years ago

We also have the same issue — even though our .gitignore has both !/pages and !/themes... this is occurring with a local install running off MAMP... weirdly, some of the theme changes are being pushed, but not the css folder...

MattAppleton commented 3 years ago

To clarify — if I add a NEW file, say to templates... that gets synced...

If I amend an existing file, that does NOT get synced...

wblondel commented 3 years ago

I had almost the same issue: the wizard ignored the fact that I selected "plugins" or "themes". I had to manually add these folders afterwards.

w00fz commented 3 years ago

This is now fixed, will be available in the next release that I plan to get out soon