How do you then manage the database? An alternative, of course, is to just keep the themes in version control, and then upload them manually to the site when deploying.
edit: Close this, it's duplicate. I couldn't "flag" it.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityHow do you then manage the database? An alternative, of course, is to just keep the themes in version control, and then upload them manually to the site when deploying.
edit: Close this, it's duplicate. I couldn't "flag" it.
This question has been answered before and therefore should likely be marked and closed as duplicate.
In short, it is viable, of course, for example we use Git to version control development of our sites. We control the versioning of the database somewhat differently in the form of incremental backups outside of the git workflow. Adopt a practice that best suits your case.
For the benefit of others wanting to know the same the following is a small compilation of community questions and answers surrounding the topic with some additional, external resources.
By no means is this a comprehensive list.