Support » Plugin: A/B Testing for WordPress » .gitignore in plugin ignoring needed subfolders

  • Resolved Joshua David Nelson



    I manage sites using git to track changes, including plugins & WP core. This plugin ships with a .gitignore file that ignores the vendor and dist folders. It would appear at least the vendor is needed, and without that it throws a fatal error.

    Could you remove all the items needed for the plugin to run from the .gitignore file?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gaya Kessler


    Hi Joshua,

    I leave these out because vendor and dist are generated from the source and what you find in GitHub is the source, and not the generated product.

    Including vendor and dist would mean that I ship generated code to my version control, which I do not want.

    You can find releases at, these contain everything you’d need to run the plugin and still allow you to keep updated through GitHub.

    It might also not be a good idea to sync my plugin through GitHub as master does not always reflect the latest release and might contain work in progress code.

    Hope this helps.


    Ah, thanks, makes sense. Appreciate the follow up!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.