Jump to content

.gitignore File Setup


Go to solution Solved by Daniel F,

Recommended Posts

Posted

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.

Posted

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

 

  • 2 weeks later...
Posted
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?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...