WaylandGames Posted July 28, 2022 Share Posted July 28, 2022 Hi, I'm preparing to update our InVision software. We use an internal Gitlab instance for SCM, and I'd like to put the core files in there before running the update to manage versions. However, I can't find any documentation on or any default .gitignore files. Does anyone have a recommended .gitignore file? Or know what folders/files are considered "core"? I would assume as a starting point anything in /cache and /uploads can be ignored. Any help would be much appreciated. Thanks. Link to comment Share on other sites More sharing options...
Solution Daniel F Posted July 28, 2022 Solution Share Posted July 28, 2022 Hi, this is the file which the developers at IPS use conf_global.php datastore/*.php uploads/logs/*.php uploads/* plugins/hooks.txt constants.php plugins/hooks.php .DS_Store I hope it helps:) WaylandGames, Matt, TSP and 1 other 4 Link to comment Share on other sites More sharing options...
WaylandGames Posted July 28, 2022 Author Share Posted July 28, 2022 Perfect! Thanks a bunch. Link to comment Share on other sites More sharing options...
WaylandGames Posted July 29, 2022 Author Share Posted July 29, 2022 In case anyone else stumbles upon this, I added a few extra folders but it's essentially the same: .idea/ .vscode/ .well-known/ cache/ cgi-bin/ uploads/*/ datastore/*.php plugins/hooks.txt plugins/hooks.php .DS_Store conf_global.php constants.php Marc Stridgen 1 Link to comment Share on other sites More sharing options...
TSP Posted August 7, 2022 Share Posted August 7, 2022 On 7/28/2022 at 4:52 PM, Daniel F said: Hi, this is the file which the developers at IPS use I hope it helps:) Nitpicking... but wouldn't uploads/logs/*.php be covered by uploads/*, so the former one is superfluous? Link to comment Share on other sites More sharing options...
Recommended Posts