Skip to content

gitignore‐ja‐gitattributes

Joni Roine edited this page Nov 8, 2024 · 2 revisions

.gitignore and .gitattributes files are used to configure version control settings.

.gitignore

The .gitignore file is divided into three sections:

  1. General Settings: The beginning section is copied from a commonly used example project.
  2. Third-Party Requirements: The middle section includes settings required by any third-party tools or libraries in use.
  3. Project-Specific Settings: The end of the file is reserved for settings unique to this project.

.gitattributes

The .gitattributes file is used to configure settings like Git LFS and line-ending conversions between CR-LF and LF.

There’s no standard template for this file, so new entries can be added to the end unless a more suitable section is evident.