What all files need to be git ignored for security purposes ?

What all files need to be git ignored for security purposes ?

by Amrata Ramchandani -
Number of replies: 1

Hi,

I would like to know what all files need to be git ignored while pushing the code? I am aware of config file,what else ?

Average of ratings: -
In reply to Amrata Ramchandani

Re: What all files need to be git ignored for security purposes ?

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

There is already a fairly extensive .gitignore file in the root directory of the standard Moodle code. That should cover most things you shouldn't be committing.

Anything not covered by that would be custom code specific to your site, which we can't give general advice on - only you can make decisions about that.