Reminder to all repository users: Please do not add , commit and push any data files to your remote git repositories. The disk space the Git server is limited, it wasn't dimensioned to host anything else than code. Solely your code files need versioning. The data inputs/outputs don't. A good idea is to do "git add" individually on each file you want to commit, to avoid versioning unwanted content.

Git Attributes

GitLab supports defining custom Git attributes such as what files to treat as binary, and what language to use for syntax highlighting diffs.

To define these attributes, create a file called .gitattributes in the root directory of your repository and push it to the default branch of your project.

Encoding Requirements

The .gitattributes file must be encoded in UTF-8 and must not contain a Byte Order Mark. If a different encoding is used, the file's contents will be ignored.

Syntax Highlighting

The .gitattributes file can be used to define which language to use when syntax highlighting files and diffs. See "Syntax Highlighting" for more information.