Wordfence + GIT (what to add to gitignore)?
-
We’re running Wordfence on a site that’s managed via GIT as part of the development workflow. I’m wondering which files should be added to the gitignore file (keeping them untracked/out of GIT).
I’m thinking the following files should be added, but would appreciate advice:
wp-content/plugins/wordfence/tmp/**
wp-content/wflogs/**
wp-content/wfcache/**My reasoning behind this is we don’t need tmp, log and cache files, generated in non-production environments (local dev, dev and staging sites, all of which of which are password protected/non-accessible), overwriting tmp, log and cache files on the production environment, whenever code is pushed live.
Would appreciate advice from the devs, if possible?
- The topic ‘Wordfence + GIT (what to add to gitignore)?’ is closed to new replies.