Reputation: 741
I'd like to add a installation of a Wordpress site to version control. After researching a little bit, I found some files/folders that should be ignore, like sitemap.xml
and cache folders.
Every single one of them say I shouldn't ignore wp-content/plugins/
, which is a reasonable advice at first. The question is: How should I deal with plugins that alter the database?
I can see two scenarios:
Upvotes: 0
Views: 69
Reputation: 879
I would suggest to take a look at this great presentation. It's the most complete I saw yet.
http://stevegrunwell.github.io/wordpress-git
You should have your plugins directory in there too since you do want to track plugin files. As for the database, that's another subject completely. Take a look at the development of VersionPress, it should be out at the end of the year.
Upvotes: 2