• Hi all — I have been looking for some documentation surrounding what I am specifically trying to do, but I have not been able to find anything that encompasses all of what I need.

    I want to add version control to my website using git but have the following requirements.

    – develop and test site locally (ideally without storing redundant information, just theme files and other information and look to production to fill in missing information.
    – have website look for theme/plugin code on my bitbucket
    – if any changes are made directly in production I can pull them downstream

    I haven’t been able to find information that describes this to me at my knowledge level. I have an understanding of git and wordpress, but this one is over my head. Any help would be greatly appreciated!

Viewing 1 replies (of 1 total)
  • For files only, it’s relatively easy. You’d just use GIT in the same way that you use it for anything else.

    The tricky part is if you want to manage database settings and data syncing between the sites as well. That’s one thing that no one has been able ot do perfectly yet – and that’s for any system, not just WordPress. There is VersionPress which is “early stage” software but is suppsoed to work fairly well (I haven’t trei it myself yet). It’s got it’s own workflow and learning curve, but that’s really about the only option around at the moment.

Viewing 1 replies (of 1 total)
  • The topic ‘Git Development Workflow with WordPress’ is closed to new replies.