Skip to content

Handle line endings automatically #444

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

Merged
merged 4 commits into from
Jul 18, 2025
Merged

Conversation

mikehosmar
Copy link
Member

Uses git attributes file to instruct git on how to handle line endings.

This is superior to autocrlf=input since it does not require everyone to set this attribute and it gives more granular control. In this case line endings are set to be LF on all OS's as basically all text editors can handle it.

FYI https://git-scm.com/docs/gitattributes

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-444.dfy90wyu8dics.amplifyapp.com

@mikehosmar mikehosmar marked this pull request as ready for review July 16, 2025 18:41
@hilary-luo hilary-luo merged commit 8321ed3 into development Jul 18, 2025
2 checks passed
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