sampsapursiainen / zeffiro_interface

Interface for using finite elements in inverse problems with complex domains
GNU General Public License v3.0
25 stars 15 forks source link

Turn .gitignore into a {white,allow}list #56

Closed SeSodesa closed 2 years ago

SeSodesa commented 2 years ago

This commit turns the .gitignore file into an allowlist, which prevents the addition of any unwanted file types by default, and explicitly declares which file types are allowed. This should prevent any future additions of files like .DS_Store or Matlab's backup format .asv. The latter is not needed, because you know, WE ARE USING VERSION CONTROL.

If a needed file type is missing from the new Allow file types -section of the .gitignore file, please comment on the pull/merge request related to this commit and it will be amended.

NOTE: Pushes may still be forced with the -f switch after this change. DO NOT DO THIS. You are a dingus if you do.