.gitignore best practice for Litium

Hi,

What kind of files are you ignoring. I am using default vs template from github but noticed that a tons of files are being generated in /Src/Files that i currently ignored but wondering how well that will work.

Do you guys have recommendations on what to keep and what not to keep.

Litium version: 7.1

Best Regards

That you get a lot of files in the /Src/Files folder is because you have in your web.config that the filesDirectory is ../files that means that it should be created one level outside the mvc-project.

This files should not be checked in into source control.

I use this one https://gist.github.com/martenw/e2987022faadc3fd0b62f7e8b1bf79a2

2 Likes