Git: a sample exclude file

|

Note: Content might be outdated!

There are probably more sophisticated ways to handle selective exclusions for git, but this worked for me. Random use case: I wanted to track changes in MU plugins and a child theme, but exclude .gitignore and the entire rest of my local WordPress install.