GitHub reference: Root-level gitignore

Root-level .gitignore:

#Generated by hcigitinit, 2020-09-20-14-05-22
#Cloverleaf root-level .gitignore
#The content is encouraged to be constantly refreshed to
#reflect the needs from Cloverleaf application development
#-----------------------------

#exclude everything in root
/*

#except
!.gitignore
!.gitattributes
!rootInfo

# and except
!/Alerts
!/AppDefaults
#!/archiving
!/auto-start
!/bitmaps

!/bin
/bin/*
!/bin/allowlist.db
!/bin/sys_cmds.dat

#!/box
!/client
/client/*
!/client/brand
!/client/certs
!/client/ScriptEditor
!/client/*.ini
!/client/*.xml

!/clgui
/clgui/*
!/clgui/images

#!/contrib
#!/debuginfo

!/dicom
/dicom/*
!/dicom/dicomcfg.xml

!/eoalias
#!/formats
!/java_uccs

!/lib
/lib/*
!/lib/launchpad

#!/pdls
!/python
!/productinfo
!/scripts

!/security
/security/*
!/security/certs
!/security/data
!/security/java.*
!/security/*.xml
!/security/*.ini

!/server
/server/*
!/server/audit
!/server/certs
!/server/template
!/server/*.ini
!/server/java.*
!/server/*.xml
!/server/user_cmds.dat
!/server/cipher.txt
!/server/tomcat
/server/tomcat/*
!/server/tomcat/webapps
!/server/tomcat/conf

#!/siteProto
#!/Tables
!/tcl
/tcl/*
!/tcl/lib
/tcl/lib/*
!/tcl/lib/localInit.tcl

!/tclprocs
!/templates
!/version
!/usercmds
!/xslt

#except site, helloworld
!/helloworld