Is installing WordPress as a Git submodule a good idea?

I’m curious as to others’ workflow involving Git and WordPress, and whether or not you choose to install WordPress as a submodule. At first glance, it makes sense to keep my Theme, Plugins, and Uploads separate from the wp core files and easier to update/maintain over time.

Does anyone have any long-term experience and advice when it comes to developing WP with Git?

Read More

Does installing WP as a Submodule create any challenges when uploading the site to the Live Server?

Related posts

1 comment

  1. You have some projects which followed that approach before.

    You can try and play with Darep/wordpress-boilerplate (explained in this article):

    git clone --recursive https://github.com/Darep/wordpress-boilerplate.git
    

    It has a WordPress submodule, and include in the main parent repo wp-content.

Comments are closed.