2014-08-17, 06:17 AM
Just a suggestion to add a basic .gitignore file to the MyBB git repo, will make it easier to use the git repo for automated deploys/development (a la Docker), and prevent accidental commits like this .
It'd just place ignores on files that are automatically changed by MyBB itself (cache, uploads, settings etc.). Files that are ignored don't get deleted and can be forcefully added to commits git add -f ignored.file (If, say, the default config file needs to be changed).
Here is a tidied up one that I use for my site, I think it includes most base MyBB stuff, I'd really like to see something like it included in the base repo.
# Config Files
inc/config.php
inc/config.default.php
inc/settings.php
# Cache Directory
cache/*
# Uploads
uploads/*
#Misc
install/lock
error.log
.htaccess
# Generic OS stuff
Thumbs.db
.DS_Store
*~