I was recently cloning my CFML code repository from Bitbucket to my new local machine. I noticed that some files such as “box.json” and “cfconfig.json” were not listed in gitignore and came back, as a result, in my new development folder when my remote repository was restored. When I made a fresh install of Coldbox system and binaries via CommandBox 4.5 into my new development folder, the old box.json was not overwritten and in fact conflicted with the new Coldbox install.
Here is my gitignore file. Should I include box.json to avoid this problem in the future? What about CFconfig.json?
General Ignores + IDE
.DS_Store
settings.xml
WEB-INF
logs
logs/.
NPM, Bower, ETC
*/node_modules/
*/bower_components/
Ignored Dependencies
coldbox/*
testbox/*
modules/*
/apidocs/