# ignore everything
*

# but do not ignore these files
!/.gitignore
!/README.md

# ...even if they are in subdirectories
!*/

# if the files to be tracked are in subdirectories
!wp-content/themes/rookie/functions.php
!wp-content/themes/rookie/style.css
!wp-content/plugins/sportspress/templates/event-fixtures-results.php
!wp-content/plugins/sportspress/templates/player-list.php