In most cases, we don't have a .gitignore file, assuming that a developer would clean the result files (e.g. using Allclean) before commiting.
In other cases (e.g. tutorials/FSI/flap_perp/OpenFOAM-FEniCS/), we provide a .gitignore. In this specific case, the .gitignore is ignoring the complete case directories and then un-ignores specific files.
This inconsistency can lead in overseeing files when applying the same change in every tutorial.
A nice approach would be to have a global tutorials/.gitignore for the usual suspects (e.g. preCICE log files) and each tutorial could provide its own .gitignore for any special files.
In most cases, we don't have a
.gitignorefile, assuming that a developer would clean the result files (e.g. usingAllclean) before commiting.In other cases (e.g. tutorials/FSI/flap_perp/OpenFOAM-FEniCS/), we provide a
.gitignore. In this specific case, the.gitignoreis ignoring the complete case directories and then un-ignores specific files.This inconsistency can lead in overseeing files when applying the same change in every tutorial.
A nice approach would be to have a global
tutorials/.gitignorefor the usual suspects (e.g. preCICE log files) and each tutorial could provide its own.gitignorefor any special files.