Skip to content

Commit dd97ed7

Browse files
heiskrCopilotCopilot
authored
Enforce LF line endings for Markdown files (#60350)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 3e67fa4 commit dd97ed7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.gitattributes

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Set default behavior, in case users don't have core.autocrlf set.
22
* text=auto
3-
# Explicitly declare text files we want to always be normalized and converted
4-
# to native line endings on checkout.
5-
*.md text diff=markdown
3+
# Explicitly declare text files we want to always be normalized, and for
4+
# Markdown files, enforce LF line endings on checkout.
5+
*.md text eol=lf diff=markdown
66
*.json.br filter=lfs diff=lfs merge=lfs -text
77
.github/workflows/*.lock.yml linguist-generated=true merge=ours

0 commit comments

Comments
 (0)