Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .gitattributes file; update .gitignore #161

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

MarttiR
Copy link
Collaborator

@MarttiR MarttiR commented Nov 20, 2023

Changes proposed in this PR:

Adds .gitattributes file, which tells git explicitly how to handle line ending normalisation for various file types, and by doing that, improves cross-platform developer experience.

How to test:

  1. Have a Windows developer make changes to some file.
  2. See that there is no git warning about line endings when committing.
  3. Also see that the line endings in the repository are indeed normalized to LF-only (Unix format \n instead of the Windows format \r\n)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants