sampsapursiainen / zeffiro_interface

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

Add a .gitattributes file #114

Closed SeSodesa closed 2 years ago

SeSodesa commented 2 years ago

This file tells Git to change the line endings in newly added text files to a simple Line Feed instead of the Windows equivalent , as the files are added to the working tree (the set of files that Git is keeping track of) in this repository. This makes the reading experience of Unix users a bit more pleasant. The line feeds are converted back to on Windows as they are checked out for local editing. Binary files such as mlapp are ignored and not modified.


Allowed .gitattributes

Added an initial .gitattributes file

Explicitly declare line ending type for text files

Added text attribute to README

Added the binary attribute to .fig files

Added the text attribute to .asc files

Added the binary attribute to .mat and .stl files

Fixed typo in comment and added a spaces between file spec and binary attributes

SeSodesa commented 2 years ago

Here is a link to what Git Attributes are and how they affect the specified paths: https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes.