• Hi, I’d like to start using version control for WordPress sites and think I like sourcetree/bitbucket but am confused about what a proper workflow is. Do people just out their theme in a repository or do you add the entire wordpress build plus theme or do you do a hybrid where you maybe do theme and possibly your config file? Wondering what to do here, can a yone point me in the right direction?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator bcworkz

    (@bcworkz)

    Do you want your theme hosted in the WP theme repository? If so, you would submit your theme for review by uploading a .zip file of only the theme files you’d use for distribution. Do not include supplemental build configurations, etc. For further guidance, download any example theme from the repository to see what is in their .zip file. Do similarly. Your workflow to get to that point where you upload a .zip file is up to you. Do whatever works best for you (and the rest of your dev team if applicable).

    If you want your theme hosted elsewhere, follow that host’s requirements.

    Thread Starter wyclef

    (@wyclef)

    Not looking to have the theme in wp repository. Coukd be nice to have it hooked up to wp theme updater.

    • This reply was modified 1 year, 2 months ago by wyclef.

    What problem are you trying to solve?

    There have been several attempts ( that seems to have died ) to try and put the whole of WP ( inc database ) under git vcs, but that is difficult as git is really designed for source code not database content.

    To me the git is for code.

    In therms of deployment, there are some solutions out there or you can add git to your server and use git hooks ( post-receive ) and when you push to deploy.

    Thread Starter wyclef

    (@wyclef)

    i am mainly interested in something for my own personal workflow. I currently use Mamp for my localhost dev but am just sort of primatively archiving theme revisions manually. It works fine but kind of want to feel of modern times here and not some old dinosaur.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress workflow using version control?’ is closed to new replies.