Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Commit 3417d7d

Browse files
committed
Make Git automatically normalize line endings
Ref: https://git-scm.com/docs/gitattributes#_end_of_line_conversion
1 parent 1a9412c commit 3417d7d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.editorconfig

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# For more information about the configurations used
22
# in this file, please see the EditorConfig documentation:
3+
#
34
# http://editorconfig.org
45

56
root = true

.gitattributes

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Automatically normalize line endings for all text-based files.
2+
# https://git-scm.com/docs/gitattributes#_end_of_line_conversion
3+
4+
* text=auto

0 commit comments

Comments
 (0)