Good .gitignore for Local WordPress Install

Photo by Paul Morris (@oldskool2016) via Unsplash

Using .gitignore to Combine Local WordPress Installation and Version Control
One of the things I didn’t realize when I was getting Bitbucket set up (for the first time) was that it makes a lot of sense to combine your version control files and your local install files. Otherwise, you’re more prone to error as you have two versions on your machine. Plus it takes more time and disk space to update files in two places.

I recently found a good .gitignore example that I altered for my own use (the main adjustment being to track prefixed plugin directories). I wanted to share that here – especially since I keep losing the link.

Good .gitignore For WordPress