Set the default behavior, in case people don't have core.autocrlf set.

* text=auto

Views0
PublishedFeb 23, 2026

Loading actions...

5 minBeginnerpromptSingle file

Skill content

Main instructions and any bundled files for this skill.

markdown

Set the default behavior, in case people don't have core.autocrlf set.

  • text=auto

Explicitly declare text files you want to always be normalized and converted

to LF on checkout.

*.py text eol=lf *.txt text eol=lf *.md text eol=lf *.json text eol=lf *.yml text eol=lf *.yaml text eol=lf

Declare files that will always have CRLF line endings on checkout.

(Only if you have specific Windows-only files)

*.bat text eol=crlf

Denote all files that are truly binary and should not be modified.

*.png binary *.jpg binary *.gif binary

Share: